Richard,
Thank you so much. That works perfectly. I knew it had to be something
simple.
Aaron
> From: Richard Davey <[EMAIL PROTECTED]>
> Reply-To: Richard Davey <[EMAIL PROTECTED]>
> Date: Wed, 11 Feb 2004 15:04:44 +0000
> To: Aaron Merrick <[EMAIL PROTECTED]>
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] str_replace not replacing
>
> Hello Aaron,
>
> Wednesday, February 11, 2004, 3:00:47 PM, you wrote:
>
> AM> $section1 = file_get_contents("table_create.php");
> AM> str_replace($search, $replace, $section1);
>
> You need to assign the output of str_replace to something:
>
> $new_section = str_replace($search, $replace, $section1)
>
> --
> Best regards,
> Richard mailto:[EMAIL PROTECTED]
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php