![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
22/04/2007, 13:30
|
![Avatar de oso96_2000](http://static.forosdelweb.com/customavatars/avatar21851_1.gif) | | | Fecha de Ingreso: junio-2002 Ubicación: Distrito Federal
Mensajes: 558
Antigüedad: 22 años, 7 meses Puntos: 35 | |
Re: Mysql_num_rows ERROR supplied argument is not a valid MySQL result resource Ahm.. la consulta ahi es solo texto, y no la estas realizando.. necesitas usar mysql_query
$consulta = mysql_query("SELECT count(*) AS cantidad FROM seguridad WHERE ip = '$IP' AND user = '$user[0]'"); |