Mysql Insert Into Error
<p>I've created a registration form and I'm adding the data with php but for some reason it will not let me add the data into the database.  Can you see anything wrong with this code?</p>

<pre><code>&lt;?php
mysql_connect("localhost", "root", "password") or die("No Connection");;
mysql_select_db("music") or die("No Database");;

$username= mysql_real_escape_string($_REQUEST["username"]);
$password= mysql_real_escape_string($_REQUEST["password"]);
$email= mysql_real_escape_string($_REQUEST["email"]);
$hash = md5( rand(0,1000) );

mysql_query("INSERT INTO members (id, username, password, email, hash, active) VALUES('', '$username', '$password', '$email', '$hash', '')") or die("Can't Add");
if(mysql_affected_rows()&gt;0){
echo "1";
}else{
echo "2";
}
?&gt;
</code></pre>

<p>I Keep getting a Can't Add error indicating that there is a simple problem with the mysql_query row</p>

<p>Thank you</p>
