In article <007001c0d38f$c50929b0$a0a6ca18@renttib>,
[EMAIL PROTECTED] ("Martin Bittner-Lamy") wrote:
> Warning: REG BADPAT in /usr/home/64.157.1.190/public html/test/segrabs.php on
> line 236
>
> and the line 236 is: $url=ereg replace("&","&",$url);
Why are bother to use a regex function fo
AIL PROTECTED]>
To: "'Martin Bittner-Lamy'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: 2001. május 3. 07:18
Subject: RE: [PHP] REG_BADPAT ERROR!
> > and the line 236 is: $url=ereg_replace("&","&",$url);
>
> BADPAT prob
> and the line 236 is: $url=ereg_replace("&","&",$url);
BADPAT probably means "Bad Pattern".
Try:$url=ereg_replace("\&\;","&",$url);
Jason
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL P
I got this error:
Warning: REG_BADPAT in /usr/home/64.157.1.190/public_html/test/segrabs.php on line 236
and the line 236 is: $url=ereg_replace("&","&",$url);
Sometime, the number of the line on which the error happen change, but it is always a
ereg_replace function call..
what is that error
4 matches
Mail list logo