The ereg_replace for some reason doesn't always work.
I tried this:
<HTLM>
<BODY>
<?
$st = " This +is a test";
$st = ereg_replace ("=+is", "and_is", $st);
echo "$st";
?>
</BODY>
</HTML>
..and got:
REG_BADRPT in <b>/usr/local/httpd/htdocs/test.php</b> on line 5
What is wrong and how can I do what I want to?
Thanx a lot in advance,
Andr�.
--
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]
- Re: [PHP] NEWBIE QUESTION Johannes Janson
- [PHP] newbie question knaSen
- RE: [PHP] newbie question Jon Haworth
- [PHP] newbie question Francis Xavier
- [PHP] Newbie Question Wade
- Re: [PHP] Newbie Question Jeff Warrington
- RE: [PHP] Newbie Question Taylor, Stewart
- Re: [PHP] Newbie Question Wade
- Re: [PHP] Newbie Question Geir Eivind Mork
- Re: [PHP] newbie question Andr� Weidemann
- Re: [PHP] newbie question Francis Fillion
- [PHP] Newbie question Bob Eldred
- RE: [PHP] Newbie question Pavel Kharitonov
- [PHP] Newbie Question Greg
- RE: [PHP] Newbie Question Hunter, Ray
- RE: [PHP] Newbie Question Jon Haworth
- [PHP] Newbie Question Hubert DAUL
- Re: [PHP] Newbie Question Miguel Cruz
- [PHP] Re: Newbie Question Michael Virnstein
- [PHP] Newbie Question Hubert DAUL

