The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How can I query the database from a template?
Can someone please tell me which syntax i need to use to query the database from within a template?
I'd really appreciate it if you give me a very simple example Thanks guys |
#2
|
|||
|
|||
What do you mean by 'within the template' ? All logic (ie: php code) needs to be done outside the template and call the the template after all the data is fetch.
|
#3
|
|||
|
|||
Quote:
ok, so if i do the logic outside of the template, where exactly should I put the queries and how exactly would I use it within the template? is there and article that explains this? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|