I have a problem with a "registration form". The problem is that i cant enter the data into the MySQL database. I enter the data in the form correctly and then it goes to "registered.php" where it sould introduce the data in the database. Here's the code. At the end of it there's an IF for me to know if the data was inserted or no in the database. I always get "Not registered". Where's the mistake? Can you help me, because i just don't know where it is. [code]<HTML> <HEAD> <TITLE>Registered.php</TITLE> </HEAD> <BODY> <? $user = $_POST['username']; $pass = $_POST['password']; $email = $_POST['email']; $name = $_POST['name']; $country = $_POST['country']; $city = $_POST['city']; //////////////////////////////////////////////////////////////////////////////// $host = 'localhost'; $username = 'root'; $database = 'project'; $password = ''; $connect = mysql_connect($host,$username,$password) or die("Error connecting to Database! " . mysql_error()); mysql_select_db($database , $connect) or die("Cannot select database! " . mysql_error()); $request = "INSERT INTO users values(NULL,'$user','$pass','$email','$name','$country','$city',)"; $results = mysql_query($request); if($results) { echo "Registered" } else { echo "Not Registered"; } mysql_close($connect); Die(); ?> </BODY> </HTML>[/code]