|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
dynamic drop down list for CF
Im trying to get a drop down list to dynamicaly pull distinct categorys from a database to a drop down, any ideas on how to do this?
Thanks |
|
#2
|
|||
|
|||
|
Same problem occured with me! Its not working in IE for CE!
Anyone have a way to over come it? |
|
#3
|
|||
|
|||
|
Unless I'm missing something, this is really easy to do:
<cfquery name="myQuery"> select distinct categoryID, categoryName from categories </cfquery> <form> <select name="categoryid" size="1"> <cfoutput query="myQuery"> <option value="#myQuery.categoryID#">#myQuery.categoryName#</option> </cfoutput> </select> </form> |
|
#4
|
|||
|
|||
|
thanks
thank you for your help
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ColdFusion Development > dynamic drop down list for CF |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|