Hi,
I've made a couple of posts on Smarty in the past asking about it, but I've never really got round to learning how to use it properly.
I got the Guestbook example/tutorial from the Smarty website to check it out properly...
Basically their guestbook example has queries in one file, logic in another (if/else etc) and then calls functions from those two.
Should I be getting my head around trying to use Smarty like it was used in the guestbook example? Or is it just as good to use it normally? (Queries, logic together).
Thanks
Craig.
I've made a couple of posts on Smarty in the past asking about it, but I've never really got round to learning how to use it properly.
I got the Guestbook example/tutorial from the Smarty website to check it out properly...
Basically their guestbook example has queries in one file, logic in another (if/else etc) and then calls functions from those two.
Should I be getting my head around trying to use Smarty like it was used in the guestbook example? Or is it just as good to use it normally? (Queries, logic together).
Thanks
Craig.