I am trying to implement a website using PHP and so far it's going rather well. Today I ran upon a bit of a hiccup. I've written some code folloing a tutorial that allows people to enter information to a database and it worked fine for a little while. But now it's broken. On the user end, it looks like it works, but when I actually browse the contents of the database, the information has not been added. I'm relatively new to the PHP/MySQL platform but as I'm not so familiar with the syntax yet, I could very well be over looking something quite simple. Below is the code from the two pages I have. SIGNUP.HTML <html> <head> <title>.:: New User ::. </title></head> <body> <font face="arial" pt size=1> <form action="insert.php" method="post"> Username: <input type="text" name="user"><br> Password: <input type="password" name="password"><br> Confirm Password: <input type="password" name="password"><br> Email: <input type="text" name="email"><br> First Name: <input type="text" name="first"><br> Last Name: <input type="text" name="last"><br> Primary Contact: <input type="text" name="phone"><br> Age: <input type="text" name="age"><br> Gender: <input type="radio" name="gender" value="M">Male <input type="radio" name="gender" value="F">Female<br> <input type="Submit"> </form> </body> </html> INSERT.PHP <?php include("library/dblogin.php"); $user=$_POST['user']; $password=$_POST['password']; $email=$_POST['email']; $first=$_POST['first']; $last=$_POST['last']; $phone=$_POST['phone']; $age=$_POST['age']; $gender=$_POST['gender']; $query = "INSERT INTO users VALUES ('','$user','$password','$email','$first','$last','$phone','$age','$gender','0')"; mysql_query($query); mysql_close(); ?> <html> <head> <title> .:: New User ::. </title> </head> <body> <font face="arial" pt size="1"> <p align="center"> Your account has been successfully created.<br> Thank you for registering. <br> </p> </body> </html> So there it is. Is there any reason why this code shouldn't work? Any insight would be helpful.