|    
			
				28/05/2005, 18:07
			
			
			  | 
  |   |  |  |  Fecha de Ingreso: mayo-2005 
						Mensajes: 72
					 Antigüedad: 20 años, 5 meses Puntos: 1 |  | 
  |  aqui esta arreglado:  Cita:  <?php 
session_start(); 
$User = $_POST['username']; 
$Pass = $_POST['user_password']; 
$Query = mysql_query("SELECT * FROM usuarios WHERE username='$User' && user_password ='$Pass'");  
if(mysql_num_rows($Query) != 0) { 
$data = mysql_fetch_array($Query); 
if($data['username'] == $User && $data['user_password'] == $Pass){  
$session_register('username'); 
$session_register('user_password'); 
header("Location: index2.php"); 
} else { 
echo("Usuario / Clave no son válidos, intente de nuevo..."); 
} 
?>  
me dices si te ayudó..       |