Re: REG_BADPAT ERROR!

From: Date: Thu, 03 May 2001 17:30:56 +0000
Subject: Re: REG_BADPAT ERROR!
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-51302@lists.php.net to get a copy of this message
In article <007001c0d38f$c50929b0$a0a6ca18@renttib>, martinbl@videotron.ca ("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("&amp;","&",$url); Why are bother to use a regex function for this? str_replace() can do the job just as well, not to mention faster. -- CC

« previous php.general (#51302) next »