
23/05/2011, 19:38
|
| | Fecha de Ingreso: abril-2009 Ubicación: Colombia
Mensajes: 949
Antigüedad: 15 años, 10 meses Puntos: 27 | |
Respuesta: Tengo un problema con mysql_num_rows Creo que si no existen filas deberias colocar un else
if (mysql_num_rows($result) >0 )
{
// if they are in the database register the user id
$_SESSION['valid_user'] = $userid;
}
else
echo "No existe la sesion"; |