![]() |
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 |
Sure, you could probably do something like:
PHP Code:
|
cool. Thank you.
|
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! :) |
<a href="http://members.vbulletin.com/api/" target="_blank">vBulletin API</a>
|
Thank you. :) After more searches I came across that PDF. :o
|
All times are GMT. The time now is 02:44 PM. |
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:
|