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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to