Francisco Javier Escoppinichi Fernández wrote: <snip>
function Show() // This function outputs the final HTML. It's called by another module. { str_replace("{contenido}", $this->buffer, $this->html); str_replace("{tituloSeccion}", $this->titulo, $this->html); echo $this->html; }
srt_replace isn't changing the value of $this->html. You'll have to set it something....
$foo = str_replace("{contenido}", $this->buffer, $this->html); $foo = str_replace("{tituloSeccion}", $this->titulo, $foo); echo $foo;
-- By-Tor.com It's all about the Rush http://www.by-tor.com
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php