$valor=$_POST['txt_usuario']; $result = mysql_query("SELECT usuario from mitabla where usuario='".$valor."' ") or die(mysql_error());