Hi All
Can anybody tell me can we use smarty template system using adodb php oracle connection string programme. Please send me one example code
thanks in advance
Hi All
Can anybody tell me can we use smarty template system using adodb php oracle connection string programme. Please send me one example code
thanks in advance
I don't see why not.
Smarty isn't really anything to do with the other parts of your system. It's just a very simple templating system.
So in the normal course of a page using Smarty you gather together all your data.
Then you instantiate the Smarty class.
After that you assign the data items you wish to display to variables in Smarty.
Finally you call the Smarty->Display(); method with a template name to render that template.
The Smarty Template is really just HTML with instances of {$variable_name} scattered through it and, where necessary, use of Smarty's {section} or {foreach} loopings and similar stuff.