Hello there, i need to count when they click on the picture it works, but now i want to update more tables how to do that ? here below is the script. mysql_query("UPDATE pictures SET count_pic = count_pic + 1 WHERE id = " .$file_id); PHP: Thanks.
mysql_query("UPDATE table,table,table SET count_pic = count_pic + 1 WHERE id = ".$file_id); PHP: or mysql_query("UPDATE pictures SET count_pic = count_pic + 1 WHERE id = " .$file_id); mysql_query("UPDATE pictures SET count_pic = count_pic + 1 WHERE id = " .$file_id); mysql_query("UPDATE pictures SET count_pic = count_pic + 1 WHERE id = " .$file_id); PHP: