[PHP] critique this code please

2005-01-02 Thread Sebastian
i have this small function for a template system (if you want to call it that ;) my idea was having something simple to separate html code from php and i think using something like smarty is too big for me and i really dont have time to learn to use it. so i have this code here:

Re: [PHP] critique this code please

2005-01-02 Thread Curt Zirzow
* Thus wrote Sebastian: i have this small function for a template system (if you want to call it that ;) my idea was having something simple to separate html code from php and i think using something like smarty is too big for me and i really dont have time to learn to use it. so i have

Re: [PHP] critique this code please

2005-01-02 Thread Nigel Jones
I personally don't see anything wrong with it. It's actually better than any of my attempts to do templating. BTW Curt: Check your clock/s, it seems to be a day out. On Sun, 2 Jan 2005 02:46:40 +, Curt Zirzow [EMAIL PROTECTED] wrote: * Thus wrote Sebastian: i have this small function

Re: [PHP] critique this code please

2005-01-02 Thread Curt Zirzow
* Thus wrote Nigel Jones: I personally don't see anything wrong with it. It's actually better than any of my attempts to do templating. There are a lot of things with the system, imo, i just stopped at the point where I read: eval('echo '. template($foo) . ')'); all that evaluates to is a