populating 3 listboxes

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
compdict
Forum Newbie
Posts: 3
Joined: Wed Jul 02, 2008 11:22 pm

populating 3 listboxes

Post by compdict »

I was converting old asp files to php.
But I'm stuck at this point.
I'm looking for a triple combo listboxes where one has "book" the other "chapter" and the third "verse". The book is populated by a database table. Once book is selected then chapter is populated and then verse.
Any tutorial related to this?
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: populating 3 listboxes

Post by Christopher »

You can do it by either loading everything in memory or using Ajax. Either way the Javascript is similar. Any of the major libraries, like Prototype or jQuery, will have examples of how to do this easily.
(#10850)
Post Reply