![]() |
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. |
You would put the query in a plugin that is used on that page. Something like:
PHP Code:
|
If you're doing the above (Lynne's post), you can just use query_first(), as it will automatically return an associative array.
|
All times are GMT. The time now is 01:13 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|