how to call values in select box. Topic is solved

Discussion and education for beginner / novice programmers interested in embarking on the development process to take advantage of the extensible nature of the Joomla! CMS.

Moderators: tjay, seadap, Rogue4ngel, matthewhayashida

Forum rules
Post Reply
Sawariya

how to call values in select box.

Post by Sawariya » Sat Oct 27, 2007 10:59 am

hi everybody i am new with joomla.. i am using joomla-1.5RC
i want to get values  from database..
plzzzzzz anybody can help me..
thanks in advance....

User avatar
lobos
Joomla! Apprentice
Joomla! Apprentice
Posts: 30
Joined: Wed Jul 19, 2006 3:33 pm
Location: Sao Paulo, Brasil
Contact:

Re: how to call values in select box.

Post by lobos » Sat Nov 03, 2007 4:58 pm

You will need to pull the data from the database into an array. After this you will use a foreach statement to iterate thru the array from the database and build your select values.

-Lobos
Respect and honour, sempre isso, the tribal way, the only way.
http://en.wikipedia.org/wiki/Tribes_Vengeance


Post Reply