Ver Mensaje Individual
  #6 (permalink)  
Antiguo 22/03/2010, 19:35
Avatar de zreep
zreep
 
Fecha de Ingreso: octubre-2009
Ubicación: Argentina
Mensajes: 534
Antigüedad: 14 años, 6 meses
Puntos: 12
Respuesta: buscador en cero

disculpen pero trato de poner el codigo y no pasa nada, no se que estoy haciendo mal

ahi se los muestro

Código PHP:
$buscar=$_POST['buscar'];

//$consulta="select u_nick, u_nota, u_date from nota where u_nick like '%$buscar%'";

//$resultado=mysql_query($consulta);

//inicio del muestro

if (!empty($buscar)) {
    $consulta="select u_nick, u_nota, u_date from nota where u_nick like '%$buscar%'";
    $resultado=mysql_query($consulta);

    while($fila=mysql_fetch_array($resultado))
    {        

?>
    <div id="mn">
        <p><img src="img/user.png" title="usuario"> <?php echo($fila[u_nick]);?></p>
        <p><?php echo($fila[u_date]);?></p>
    </div>
    <div id="mns">
        <p><?php echo($fila[u_nota]);?></p>
    </div>
<?php
    
}
}
mysql_close();

?>