The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Generating drop don choices in a from based on SQL entries
I want to have a form with a drop down box, where all of the choices it gives are from a field in a table in a database.
For example, if the first 5 entries of my database are: Make Model Year Dodge Neon 97 Dodge Neon 98 Dodge Neon 99 Ford F 150 03 Ford F 250 04 I want a Form to appear with a "make" drop down box that gives the choices: Dodge Ford Is that possible? Thanks, Nick |
#2
|
||||
|
||||
Sure, you could probably do something like:
PHP Code:
|
#3
|
|||
|
|||
cool. Thank you.
|
#4
|
|||
|
|||
Is there an updated version of how to do this? I could have sworn I saw something about how to construct forms in newer versions, but I can't seem to find it now.
Also, is there a list of all functions, etc for vBulletin anywhere? Thanks! |
#5
|
||||
|
||||
<a href="http://members.vbulletin.com/api/" target="_blank">vBulletin API</a>
|
#6
|
|||
|
|||
Thank you. After more searches I came across that PDF.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|