Re: str_replace not replacing
| From: | Jason Wong | Date: | Wed, 11 Feb 2004 15:06:35 +0000 |
| Subject: | Re: str_replace not replacing | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-177396@lists.php.net to get a copy of this message | ||
On Wednesday 11 February 2004 23:00, Aaron Merrick wrote:
> My problem is, I want to replace the table name in the original file with a
> new table name before I output it to the new file. But the str_replace has
> no effect.
[snip]
> str_replace($search, $replace, $section1);
str_replace() returns a value, use it.
--
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
------------------------------------------
/*
A bit of talcum
Is always walcum
-- Ogden Nash
*/