Ver Mensaje Individual
  #17 (permalink)  
Antiguo 26/06/2008, 15:42
Avatar de T4ke0veR
T4ke0veR
 
Fecha de Ingreso: agosto-2007
Ubicación: Quito - Ecuador
Mensajes: 1.720
Antigüedad: 16 años, 8 meses
Puntos: 28
Respuesta: Contador por click no cuenta!!!

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");

__________________
Diseño gráfico, Web, imagen corporativa, publicidad ...