View Single Post
Old 05-15-2009, 06:01 PM   #4 (permalink)
sketchMedia
The Prestige
Advanced Programmer Top Contributor Good Samaritan 
 
sketchMedia's Avatar
 
Join Date: Oct 2007
Location: Manchester, UK
Posts: 854
Thanks: 32
sketchMedia is on a distinguished road
Default

Quote:
If I had to guess, it just checks if the last query was successful so there was a resource to use for obtaining the data from the query...?
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)
__________________
mysql> SELECT * FROM `users` WHERE `users`.`clue` > 0;
Empty set (0.00 sec)
sketchMedia is offline  
Reply With Quote