Ver Mensaje Individual
  #1 (permalink)  
Antiguo 22/02/2013, 13:24
vani18
 
Fecha de Ingreso: junio-2010
Mensajes: 752
Antigüedad: 13 años, 11 meses
Puntos: 5
codigo php mysqlfetcharray ASSOC

hola disculpen , el titulo pero , no se por que anda mal....


QUIERO HACER UN STRING CON TODOS LOS VALORES DE UNA CADENA.


$fila = mysql_fetch_array($piscina);
$todos= implode(',',$fila);

ESTO NO ME ANDA

--------------------------------------------------------------------

while ($fila = mysql_fetch_assoc($piscina)) {
$todos.=$fila["IDPropiedad"].",";

}


ASI ME ANDA , PERO QUEDA MEDIO CUALQUIERA, CON EL , AL FINAL.. EN EL ULTIMO VALOR
-------------------------