Ver Mensaje Individual
  #2 (permalink)  
Antiguo 03/05/2002, 14:50
Avatar de eloi
eloi
 
Fecha de Ingreso: marzo-2002
Mensajes: 149
Antigüedad: 22 años, 1 mes
Puntos: 0
Re: Como separar un el contenido de un campo MySql

Pues si quieres que después de coma ponga <br>, usa:

ereg_replace(",", ",<br>", $string);

Y si quieres que cambie coma por <br> usa:

ereg_replace(",", "<br>", $string);

<hr size="1"><font face="Verdana">[B]¿Buscas algun código?<br><input id="q"> <input type="submit" value="Buscar" onclick="document.location = &quot;http://www.webpersonal.net/elosan/indicecods.htm?info=enter,todos,&quot;+q.value+&qu ot;,0&quot;">