Hola tengo un sistema de usuarios y lo probe en mi pc y me funciono correctamente, lo subi a mi host y funciona bien pero apenas hace rato cuando intento logearme no me logea me regresa al index y lo logea por que? si funcionaba anteriormente ya no funciona? y solo es en el servidor :s Gracias
aparece un error log en el hosting y dice esto
[01-Jun-2010 23:37:27] PHP Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/sitio1/public_html/index.php on line 19
[01-Jun-2010 23:37:27] PHP Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/sitio1/public_html/index.php on line 25
y en las lineas tengo esto
$array=mysql_fetch_array($result); //linea 19
if(mysql_num_rows($result)){ //linea 25