MySQL Database & Model Classes
View Single Post
05-15-2009, 06:05 PM
Join Date: Feb 2009
Location: New York
Originally Posted by
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?
View Public Profile
Send a private message to allworknoplay
Find More Posts by allworknoplay