Hi all, i have a query that i want to check to see if there are any records. What i have been given doesnt seem to be correct.

This is is a loop, i simply want to check if there is a record.

PHP Code:
$imgQuery mysql_query("SELECT * FROM meltdown_images Where download_id='" $myrow[1] . "'",$db);

while (
$rowQuery mysql_fetch_array($imgQuery));
        
// Records    
        
} else {
        

// No records