Re: Problem with str_replace

From: Date: Mon, 30 Aug 2004 00:25:56 +0000
Subject: Re: Problem with str_replace
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-195137@lists.php.net to get a copy of this message
John Holmes wrote:
Francisco Javier Escoppinichi Fernández wrote:
        str_replace("{contenido}", $this->buffer, $this->html);
        str_replace("{tituloSeccion}", $this->titulo, $this->html);
You have to capture the results of str_replace()... it returns the string back to you... $this->html = str_replace(...);
Allright...set your clock ahead again so at least it looks like I get the answer before you. ;) -- By-Tor.com It's all about the Rush http://www.by-tor.com

« previous php.general (#195137) next »