Hello John, Wednesday, April 14, 2004, 4:57:00 PM, you wrote:
JWH> Only if you have error_reporting() set high. If you have a PHP templating JWH> solution, you'd turn error_reporting() down when you included the PHP JWH> templates so you didn't get a warning. John I'm shocked - of all people I would expect you to be an advocate of coding something that even E_ALL won't complain about. JWH> You can do this with output buffering and PHP functions. Smarty just JWH> provides you a different interface. Isn't that the whole point of it? :) besides it's not just a different interface - if you make a mistake you have a chance that smarty will catch this and deal with it nicely for you. A "pure" PHP "engine" (sic) will not, you get a function name wrong and the site will brake. Sure.. you can code around it.. but then if you keep playing that card, soon enough you've written your own Smarty replacement, which is somewhat ironic, no? -- Best regards, Richard Davey http://www.phpcommunity.org/wiki/296.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php