--- Jay Blanchard <[EMAIL PROTECTED]> wrote: > [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? >
Or the less demanding str_replace() > Have a pleasant and productive day. > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > ===== Mark Weinstock [EMAIL PROTECTED] *************************************** You can't demand something as a "right" unless you are willing to fight to death to defend everyone else's right to the same thing. *************************************** __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php