Populate drop down box from database?

For Joomla! 1.5 Coding related discussions, please use: http://groups.google.com/group/joomla-dev-general
Locked
jarrodr
Joomla! Apprentice
Joomla! Apprentice
Posts: 12
Joined: Thu Jun 05, 2008 10:58 am

Populate drop down box from database?

Post by jarrodr » Fri Nov 06, 2009 9:11 pm

Sorry guys, but I am a total noob with Joomla.

I need populate 2 drop down boxes with data from my database and when the search button is hit a datagrid is populated and displayed on screen. The drop down boxes are basically filters.

eg.

The 1st drop down box filters the 2nd drop down box.
1st DDL (Car Manufactures), 2nd DDL (Car Models, depending on the manufacture chosen), Honda->CRV.

When the search button is hit, the table displays all CRV models. When any row from the table is chosen, a static details page about the car opens up.

Please guys can you assist.

User avatar
ooffick
Joomla! Master
Joomla! Master
Posts: 11616
Joined: Thu Jul 17, 2008 3:10 pm
Location: Ireland
Contact:

Re: Populate drop down box from database?

Post by ooffick » Sat Nov 07, 2009 12:58 pm

Olaf Offick - Global Moderator
learnskills.org

User avatar
dam-man
Joomla! Exemplar
Joomla! Exemplar
Posts: 7961
Joined: Fri Sep 09, 2005 2:13 pm
Location: The Netherlands
Contact:

Re: Populate drop down box from database?

Post by dam-man » Sun Nov 08, 2009 4:07 pm

jarrodr wrote: The 1st drop down box filters the 2nd drop down box.
1st DDL (Car Manufactures), 2nd DDL (Car Models, depending on the manufacture chosen), Honda->CRV.
I've done this also in my component, see http://rd-media.org for the use of my selectors.
Robert Dam - Joomla Forum Moderator
Dutch Boards | Joomla Coding Boards | English Support Boards

jarrodr
Joomla! Apprentice
Joomla! Apprentice
Posts: 12
Joined: Thu Jun 05, 2008 10:58 am

Re: Populate drop down box from database?

Post by jarrodr » Mon Nov 09, 2009 4:48 am

Thanks guys, I'll test it when I get home... Will def. give feedback.


Locked

Return to “Joomla! 1.5 Coding”