![]() |
Using php in styles to access my own db
I'm trying to add a few lines of php to an Ad Location style to pull some code out of a table in my mySQL db and echo it. Does anybody know the right syntax for this? Standard code doesn't seem to be working for me. Thanks.
-Greg |
on top of this page, you see a tab called "Articles"... you will see there how to integrate your codes to vBulletin.
|
The style manager limits which PHP functions can be called in templates to:
Note: Functions marked * are custom functions defined by vBulletin itself. Each function name is a link that will take you to the documentation for that function. Use of these functions requires knowledge of PHP http://www.vbulletin.com/docs/html/f...n_conditionals What you need to do is write a plugin, then define a variable and output the variable in your template. |
|
All times are GMT. The time now is 01:06 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:
|