Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\wamp\www\multisillas\detalles_prod.php on line 66
Código PHP:
$scomprobarIP = "SELECT hitIP FROM hits where hitIP = 'xxx.xxx.xxx.xxx'" ;
$res = mysql_query($comprobarIP);
if (mysql_num_rows($res) == 0); {
mysql_query("UPDATE hits SET = hitTotal + 1");
}