DSolved. Problem was a typo in other script called by this one. Many
apologies to the list.
Best,
daniel
-----Original Message-----
From: Daniel Goldin [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 21, 2001 9:08 PM
To: [EMAIL PROTECTED]
Subject: [PHP] eregi_replace problem
The following does what it's meant to do: replace [i} and [ei} with the html
eqivalenets.
$welcome_html = eregi_replace("\[i]","<I>",$welcome_html);
$welcome_html = eregi_replace("\[ei]","</I>",$welcome_html);
Why does the following NOT work?
$welcome_html = eregi_replace("\[c]","<center>",$welcome_html);
$welcome_html = eregi_replace("\[ec]","</center>",$welcome_html);
Any help gratefully appreciated.
--------------------------------------------
Daniel Goldin [EMAIL PROTECTED]
Creative Director 323.225.1926
BlueLamp Productions
www.blue-lamp.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]