
31/08/2005, 11:33
|
 | | | Fecha de Ingreso: abril-2002 Ubicación: Mexico DF
Mensajes: 150
Antigüedad: 22 años, 11 meses Puntos: 0 | |
Buenas,
por que no hacer un codigo mas limpio???
$vusuario=$_POST['usuario'];
$vclave=$_POST['pw'];
$res="SELECT * FROM tabla WHERE email_usuario='$vusuario' and contra_usuario='$vclave'";
if (mysql_num_rows($res)!=0){
print "hola";
}else{
print "no";
} |