Re: Help with preg_replace

From: Date: Mon, 04 Jul 2005 20:13:26 +0000
Subject: Re: Help with preg_replace
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-218093@lists.php.net to get a copy of this message
On Tuesday 05 July 2005 02:21, Marcos Mendonça wrote: > This works fine for links with id 0, 1 and 4. But i haven´t been able > to figure out how to match and replace links with id 2 and 3. Works for me. Check whether $body_html really does contain what you're looking for in id 2 & id 3. You may also want to consider using preg_quote() instead of str_replace(). -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ New Year Resolution: Ignore top posted posts

« previous php.general (#218093) next »