RE: [PHP] eregi function?
| From: | Chris W. Parker | Date: | Tue, 25 Nov 2003 23:07:03 +0000 |
| Subject: | RE: [PHP] eregi function? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-170954@lists.php.net to get a copy of this message | ||
Jas <mailto:jason.gerfen@scl.utah.edu>
on Tuesday, November 25, 2003 2:32 PM said:
> Not sure how to do this but I have a call to a database which pulls
> the contents of a table into an array and I need a eregi string which
> will sift through the contents and put a line break (i.e. \n or <br>)
> after each ";", "}" or "{". here is what I have so far...
Try using eregi_replace() instead.
Chris.
--
Don't like reformatting your Outlook replies? Now there's relief!
http://home.in.tum.de/~jain/software/outlook-quotefix/