This is the new code, which still isnt working. It reloads the page, like it's supposed to do, but it just shows the form and never inserts the info into my database:
<?php
if(isset($submit)) {
$members=mysql_connect("localhost", "root");
mysql_select_db("members",$members);
$add_member="insert into members (username, password, sec_phrase, first_name, last_name, address, city, zip, email, phone, major, comments) values ('$username','$password', '$sec_phrase', '$firstname', '$lastname', '$address', '$city', '$zip', '$zip', '$email', '$phone', '$major', '$comments')";
$result = mysql_query($add_member);
echo "<font color='#FFFFFF'><h3>Thank You for registering " . $username . "!</h3></font>";
}
else {
?>
<table border="0" bgcolor="#2D0040" width="75%" cellspacing="8">
<form name="reg_form" action="register.php" method="post">
<tr>
<th colspan="2"><font color="#FFFFFF">Bitphire Username and Password Setup</font></th>
<th><font color="#FFFFFF">Description</font></th>
</tr>
<tr>
<td align="right"><font color="#FF0000">*</font><font color="#FFFFFF">Username: </font></td>
<td><font color="#FFFFFF"><input type="text" maxlength="15" name="username" value="4 - 15 Characters"><i>@bitphire.com</i></font></td>
<td><font color="#FFFFFF">This is your login in name and E-Mail address for Bitphire.com.</font></td>
</tr>
<tr>
<td align="right"><font color="#FF0000">*</font><font color="#FFFFFF">Password: </font></td>
<td><input type="password" maxlength="15" name="password"></td>
<td><font color="#FFFFFF">Enter in a password no more then 15 but no less then 4.</font></td>
</tr>
<tr>
<td align="right"><font color="#FF0000">*</font><font color="#FFFFFF">Re-Type Password: </td>
<td><input type="password" maxlength="15" name="password2"></font></td>
<td><font color="#FFFFFF">Re-Type the password just entered above for security reasons.</font></td>
</tr>
<tr>
<td align="right"><font color="#FF0000">*</font><font color="#FFFFFF">Security Phrase: </font></td>
<td><input type="text" maxlength="25" name="sec_phrase"></td>
<td><font color="#FFFFFF">This phrase will come in handy if you every forget your password and need to retrieve it.</font></td>
</tr>
</table>
</center>
<br>
<hr width="85%">
<br>
<center>
<table border="0" bgcolor="#2D0040" width="75%" cellspacing="10">
<tr>
<th colspan="2"><font color="#FFFFFF">Your Personal Information</font></th>
<th><font color="#FFFFFF">Description</font></th>
</tr>
<tr>
<td align="right" width="20%"><font color="#FF0000">*</font><font color="#FFFFFF">First Name: </font></td>
<td width="33%"><input type="text" maxlength="10" name="firstname"></td>
<td width="47%"><font color="#FFFFFF">Your real first name.</font></td>
</tr>
<tr>
<td align="right"><font color="#FF0000">*</font><font color="#FFFFFF">Last Name: </font></td>
<td><input type="text" maxlength="10" name="lastname"></td>
<td><font color="#FFFFFF">Your real last name.</font></td>
</tr>
<tr>
<td align="right"><font color="#FFFFFF">Address: </td>
<td><input type="text" maxlength="30" name="address"></td>
<td><font color="#FFFFFF">Your home address or if on campus at Southwestern please put your room #.</font></td>
</tr>
<tr>
<td align="right"><font color="#FFFFFF">City: </font></td>
<td><input type="text" maxlength="15" name="city"></td>
<td><font color="#FFFFFF">Your home town/city.</font></td>
</tr>
<tr>
<td align="right"><font color="#FF0000">*</font><font color="#FFFFFF">Zip: </font></td>
<td><input type="text" maxlength="15" name="zip"></td>
<td><font color="#FFFFFF">Your zip code for the town/city entered above.</font></td>
</tr>
<tr>
<td align="right"><font color="#FFFFFF">E-Mail: </font></td>
<td><input type="text" maxlength="30" name="email"></td>
<td><font color="#FFFFFF">Enter another E-Mail account of yours, if you do not have one leave blank.</font></td>
</tr>
<tr>
<td align="right"><font color="#FFFFFF">Phone: </font></td>
<td><input type="text" maxlength="13" name="phone"></td>
<td><font color="#FFFFFF">Home phone number (without parantheses or dashes) or enter your dorm room extension at Southwestern College.</font></td>
</tr>
<tr>
<td align="right"><font color="#FFFFFF">Major: </font></td>
<td><input type="text" maxlength="30" name="major"></td>
<td><font color="#FFFFFF">This is mainly for Southwestern College students but if you are not a student here feel free to enter your major.</font></td>
</tr>
<tr>
<td align="right"><font color="#FFFFFF">Comments: </font></td>
<td><textarea rows="5" cols="15" name="comments"></textarea></td>
<td><font color="#FFFFFF">Please enter in any other comments you may have.</font></td>
</tr>
<tr>
<td align="right"><font color="#FFFFFF"> </font></td>
<td align="right"><input type="submit" name="submit" value="   Submit   "></textarea></td>
<td><font color="#FFFFFF"> </font></td>
</tr>
</form>
</table>
<?php
}
?>