ricmetal Posted April 9, 2009 Share Posted April 9, 2009 $grabpm = mysql_query("SELECT * FROM pmsystem WHERE to = '$to' AND id = '$id'"); when i do if ($grabpm) does this also mean that it is tested for validation of the query like for example if there is no existing $id in the db, does the IF turn out false? Link to comment https://forums.phpfreaks.com/topic/153249-does-a-successfull-query-mean-a-valid-one/ Share on other sites More sharing options...
Maq Posted April 9, 2009 Share Posted April 9, 2009 Test it out. Create an invalid query and see what happens... Link to comment https://forums.phpfreaks.com/topic/153249-does-a-successfull-query-mean-a-valid-one/#findComment-805068 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.