RE: [PHP] Problem with a regex!

2001-01-29 Thread Zack Ham
an error... but it didnt replace anything. >> Other ideas ? Either {'s are >> impossible to escape or php just doesnt like me... >> >> --- CC Zona <[EMAIL PROTECTED]> >> > wrote: >> >In article <[EMAIL PROTECTED]&g

Re: [PHP] Problem with a regex!

2001-01-27 Thread Zack Ham
TED]> > wrote: >In article <[EMAIL PROTECTED]>, >[EMAIL PROTECTED] (Zack Ham) wrote: > >> What I'm trying to do is run through it and replace {title} with an >> appropriate value. I have tried running >> ereg_replace("{$var}",$val

Re: [PHP] Problem with a regex!

2001-01-27 Thread Zack Ham
include ('template.php'); > >?> > >Hope this helps, > >Julian > >on 1/27/01 6:17 PM, Zack Ham at [EMAIL PROTECTED] wrote: > >> >> I'm trying to create a small template parser so I can fill my html pages up >> with

[PHP] Problem with a regex!

2001-01-27 Thread Zack Ham
I'm trying to create a small template parser so I can fill my html pages up with data. An example: {title} http://sect0r.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list admin