Re: [PHP] [HAB] str_replace

2005-02-22 Thread Jochem Maas
Bret Hughes wrote: On Tue, 2005-02-22 at 09:59, OOzy Pal wrote: Dears I am trying replace anything between '{!' and '!}' i.e {!A!} and {!B!} and {!ABC!} with XYZ. I tried the following but no help. Can anyone help? $this->template=str_replace("{!*!}","XYZ",$this->template); Thank you IIRC str_

Re: [PHP] [HAB] str_replace

2005-02-22 Thread Bret Hughes
On Tue, 2005-02-22 at 09:59, OOzy Pal wrote: > Dears > > I am trying replace anything between '{!' and '!}' i.e {!A!} and {!B!} > and {!ABC!} with XYZ. I tried the following but no help. Can anyone > help? > > $this->template=str_replace("{!*!}","XYZ",$this->template); > > Thank you > >

[PHP] [HAB] str_replace

2005-02-22 Thread OOzy Pal
Dears I am trying replace anything between '{!' and '!}' i.e {!A!} and {!B!} and {!ABC!} with XYZ. I tried the following but no help. Can anyone help? $this->template=str_replace("{!*!}","XYZ",$this->template); Thank you Regards, OOzy What is the purpose of life? Regards, OOzy What