Jump to content

does a successfull query mean a valid onE?


ricmetal

Recommended Posts

$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?

 

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.