CODE
{
mysql_query( "INSERT INTO users VALUES ("
+"'" +$id +"',"
+"'" +$pwd +"',"
+"'" +$email +"')" );
header( "Location: menu.htm" );
}
mysql_query( "INSERT INTO users VALUES ("
+"'" +$id +"',"
+"'" +$pwd +"',"
+"'" +$email +"')" );
header( "Location: menu.htm" );
}
It completes because i get redirected to menu.htm. but the INSERT doesn't work. Nothing gets added. My question is I know that some errors in php scripts get returned to the browser, but would an error in the SQL INSERT get returned? I guess not in this case. What conclusion can I draw from the fact that the header() statement executes properly?
thanks.