Ver Mensaje Individual
  #2 (permalink)  
Antiguo 13/02/2007, 08:45
Avatar de mauled
mauled
 
Fecha de Ingreso: marzo-2005
Ubicación: Cd. de México.
Mensajes: 3.001
Antigüedad: 19 años, 1 mes
Puntos: 33
De acuerdo Re: Sentencia SELECT sin funcionar

Intenta lo siguiente:

Código PHP:
$valor=$_POST['txt_usuario']; 
$result mysql_query("SELECT usuario from mitabla where usuario='".$valor."' ") or die(mysql_error()); 
Comentanos como te fue.

Saludillos.