[snip]
I have addresses stored in my database. I am trying to create a page
that
generates a letter automatically for the user to print. Given a string
of
format 'xxxx, xxxxx, xxxxx, xxx' how can I edit it so that the comma's
are
replaced with line breaks i.e. /n. This will enable me to display the
address correctly at the top of the page.
[/snip]

http://www.php.net/ereg_replace , or don;t we use the manual? 

Have a pleasant and productive day.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to