Ver Mensaje Individual
  #2 (permalink)  
Antiguo 25/04/2008, 05:02
Avatar de Eleazan
Eleazan
 
Fecha de Ingreso: abril-2008
Ubicación: Ibiza
Mensajes: 1.879
Antigüedad: 17 años
Puntos: 326
Re: generar cadena con valores

Código PHP:
$result=mysqli_query($con,"select email from videoteca.usuarios where CN='A' and CFA='D' and usuario!='".$usuario."'");
while(
$row=mysqli_fetch_array($result))
{
$prueba.=$row['email'].',';

}
echo 
$prueba