Re: [PHP] Problem with str_replace

2004-08-29 Thread John Nichel
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->ht

Re: [PHP] Problem with str_replace

2004-08-29 Thread John Nichel
Francisco Javier Escoppinichi Fernández wrote: 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

Re: [PHP] Problem with str_replace

2004-08-29 Thread Francisco Javier Escoppinichi Fernández
Hah! Beginner's mistake! I think I need some rest... I'm skipping some basic details :) *PROBLEM SOLVED* Thank you people... -- Francisco Javier Escoppinichi Fernández Email: [EMAIL PROTECTED] Web: http://www.fire-dragon.net/ MSN: [EMAIL PROTECTED] Cel: 044 (612) 348 91 00 "Sólo hay 3 cosas q

Re: [PHP] Problem with str_replace

2004-08-29 Thread John Holmes
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 =

Re: [PHP] Problem with str_replace

2004-08-29 Thread Thomas Goyne
On Sun, 29 Aug 2004 17:45:05 -0600, Francisco Javier Escoppinichi Fernández <[EMAIL PROTECTED]> wrote: On Sun, 29 Aug 2004 19:36:49 -0400, John Nichel <[EMAIL PROTECTED]> wrote: Francisco Javier Escoppinichi Fernández wrote: > Hello people... > > I have a little problem here... I hope you can

Re: [PHP] Problem with str_replace

2004-08-29 Thread Francisco Javier Escoppinichi Fernández
On Sun, 29 Aug 2004 19:36:49 -0400, John Nichel <[EMAIL PROTECTED]> wrote: > Francisco Javier Escoppinichi Fernández wrote: > > Hello people... > > > > I have a little problem here... I hope you can help me... > > > > I'm building a simple template system for a web site, and I created > > some "tag

Re: [PHP] Problem with str_replace

2004-08-29 Thread John Nichel
Francisco Javier Escoppinichi Fernández wrote: Hello people... I have a little problem here... I hope you can help me... I'm building a simple template system for a web site, and I created some "tags" in a .html file that I read using the file_get_contents() function. The "tags" I created are somet