The following does what it's meant to do: replace [i} and [ei} with the html

        $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

PHP General Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to