Jump to content

Realy need help here!!!!!


son.of.the.morning

Recommended Posts

Does your error checking and error reporting logic in your code indicate that the mysql_query() statement executed without errors and does your mysql_affected_rows() statement in your code indicate that the row was updated or not?

 

Short answer: Just posting a query statement out of context does not help anyone determine why it doesn't work. You have got to determine what your code IS doing to pin down which of the several possible reasons it might not be working -

 

You could have a problem with your connection to the database server; a problem with selecting a database; your $tbl_name2 variable might not have anything or might not have the correct thing in it; your column name(s) in the query might not be correct for the table you are using; you might not be executing the a mysql_query() statement at all or it might not have the $sql variable in it...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.