The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Calling from mySQL
Hi,
I have some code that I've finally gotten to work the way I want it to. The values are input into a mySQL DB and an XML file. How would I be able to apply various mySQL values into various locations of VB? For example. I have a value called, "MICKEY MOUSE". I'd like for that value to be displayed somewhere in the navbar or header or maybe even on top of certain forums. How do I make the call from vBulletin into mySQL to get the value then add it to the vbulletin template? Thanks in advance for your help. |
#2
|
||||
|
||||
You would put the query in a plugin that is used on that page. Something like:
PHP Code:
|
#3
|
||||
|
||||
If you're doing the above (Lynne's post), you can just use query_first(), as it will automatically return an associative array.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|