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
*/

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

Reply via email to