i want to go inside the if statment if i have both things in one row.
so if i have image_id = $image_id_g and user_id=$user_id_s on same row. i wan tto go inside the if statment.
but this is not working. i thinkg this query is testing two things sepeartly. i want to check if two things are true in same row. not different rows.
if(!$tester = mysql_query("SELECT * FROM image WHERE image_id = '$image_id_g' AND user_id = '$user_id_s'"))