Reply to Re: Forms and PHP

Your name:

Reply:


Posted by Manuel Lemos on 10/15/06 04:27

Hello,

on 10/07/2006 10:37 PM Hugh Janus said the following:
> Hello, I have a huge list of selectives in a database. What I want to do is
> have 3 lists <select> function in a form. 1 list will have countrys, another
> list will have citys.
>
> When a country is selected, I want the list of citys to show that is in that
> country, if there is no citys i want it to go straight to the 3rd list. Is
> this possible in php? if so do you have any examples.

What you want can be done using this forms generation class. It comes
with a linked select custom input that can switch the options of select
input when another input changes.

It can switch options from static arrays or retrieve dynamically from a
database using AJAX:

http://www.phpclasses.org/formsgeneration

Here is a working example of the static version:

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

--

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/

[Back to original 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

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