You are here: Re: PLEASE HELP - Drop down list related question « PHP Programming Language « IT news, forums, messages
Re: PLEASE HELP - Drop down list related question

Posted by Manuel Lemos on 10/02/06 06:37

Hello,

on 09/30/2006 11:05 PM cpptutor2000@yahoo.com said the following:
> Could some PHP guru please help me? I am creating a dynamic dropdown
> list using a code snippet(Section A) as below:

If I got you right, you want to display linked select inputs with
options taken from database queries results, so when on you change one
select it display another with options dependent on the selected value
of the first, right?

In that case, you may want to take a look at this forms generation class
that comes with a plug-in to do that.

Actually, it does it better as it can use AJAX to update the dependent
select input options without reloading. It supports MySQL and many other
databases.

Here is an example page of what it does. This is not the AJAX/Database
driven version. For that see other example scripts that comes with the
class:

http://www.phpclasses.org/browse/file/9879.html

The class is here:

http://www.phpclasses.org/formsgeneration


--

Regards,
Manuel Lemos

Metastorage - Data object relational mapping layer generator
http://www.metastorage.net/

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация