Ver Mensaje Individual
  #8 (permalink)  
Antiguo 12/03/2007, 06:42
Avatar de jerkan
jerkan
 
Fecha de Ingreso: septiembre-2005
Mensajes: 1.607
Antigüedad: 19 años, 5 meses
Puntos: 19
Re: Qué error ven aquí? (URGENTISIMO)

Yo lo pondría así:
Código PHP:
$consulta mysql_query("SELECT username FROM usuarios WHERE username='".$_GET['username']."'");
$registro mysql_fetch_array($consulta);
$var$registro['username'];

echo 
"$var / ".$_GET['username']."<br><br>";

if (
$_GET['username']==$var)
    {
    echo 
"BIEEEEN";
    } else {
    echo 
"MAAAAL";
    }