05-15-2009, 06:05 PM
|
#5 (permalink)
|
|
The Gregarious
Join Date: Feb 2009
Location: New York
Posts: 645
Thanks: 64
|
Quote:
Originally Posted by sketchMedia
You guess correct  , successful or the correct type of query (INSERT, UPDATE etc don't return a result set therefore mysql_query will return a boolean only)
|
Wow I'm actually right about something.
Since INSERTS/UPDATES don't return result sets, the boolean value can still be used the same way to determine the status of the query correct?
Or would it be better to test for "mysql_affected_rows" instead?
|
|
|
|