Hi, I'm new to php and I have the following form in my html file:
<form id="loginForm" action="login.php" method="post">
<label for="username">Username:</label>
<div>
<input type="text" name="username" maxlength="255"/>
</div>
<label for="password">Password:</label>
<div>
<input type="password" name="password" maxlength="255"/>
</div>
<div class="buttonDiv">
<input type="submit" name="loginButt" value="Login"/>
</div>
</form>
Why does it try to open my php file when I try to run it? Open as in firefox opens a window asking me if I want to save or open the file.
Thanks