fguy64
New Member
- Messages
- 218
- Reaction score
- 0
- Points
- 0
OK, I am trying to get a handle on what kind of mySQL errors will feed info back to php. I know connection errors feed back to php and back to browsers, but what about the following...
the code block executes because I get redirected to menu.htm. But my users table doesn't get updated. I tried just removing the header() function, but then I get a blank page. I'ne looked the INSERT statement over pretty closely, I don't see anything wrong, but I'm just a rookie.
So the question is what can I make out of the fact that no error information gets returned to the browser, yet clearly the mysql_query is not working.
thanks.
Code:
{
mysql_query( "INSERT INTO users VALUES ("
+"'" +$id +"',"
+"'" +$pwd +"',"
+"'" +$email +"')" );
header( "Location: menu.htm" );
}
the code block executes because I get redirected to menu.htm. But my users table doesn't get updated. I tried just removing the header() function, but then I get a blank page. I'ne looked the INSERT statement over pretty closely, I don't see anything wrong, but I'm just a rookie.
So the question is what can I make out of the fact that no error information gets returned to the browser, yet clearly the mysql_query is not working.
thanks.