The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
PHP Question with vB
I know I can't use PHP inside templates except in phpinclude. What I created was a select box that pulls the information from an SQL database and updates the next select box depending on what you selected in the other select box... here's an example if that explanation is a little confusing:
Click here to view concept Now... I need these select boxes in the modifyprofile template (so the user can add their vehicle information in their profile)... but the select boxes are PHP code... example: PHP Code:
PHP Code:
PHP Code:
Anyways, I would GREATLY appreciate you if you could help me with this problem. Thank you all for your time. -HeTz (Brian) |
#2
|
|||
|
|||
Instead in the functions that you created make the information be represented by a variable instead of ending the php starting html and then restarting php.
For example: PHP Code:
g-force2k2 |
#3
|
|||
|
|||
I'm not sure I know *exactly* what you're talking about... can you provide a little more details and examples?
|
#4
|
||||
|
||||
Well instead of using a function to call some code, just use a variable
PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|