Re: [PHP] HTML/PHP's static state problem. From: Aaron Bennett (abennett <email protected>)
Date: 07/10/01

And don't forget the 'no-no' of requiring javascript for basic
functionality... Split it onto 2 pages, or have it resubmit to $PHP_SELF
with a hidden field (how about a button that says "Get Cities >>"?) and
populate from there..

If you're hell-bent on having it auto-populate the second select box, may i
request that it also work when JS is turned off?

--
Aaron

----- Original Message ----- From: "Maxim Maletsky" <php-general <email protected>> To: "Boget, Chris" <Chris.Boget <email protected>>; "'PHP'" <phpmailinglist <email protected>>; <php-general <email protected>>; "Alexander Deruwe" <a <email protected>> Sent: Monday, July 09, 2001 10:02 AM Subject: RE: [PHP] HTML/PHP's static state problem.

> That is why I am saying - loading two pages is cooler then do it all on one. > Some people are still scratching the web on 28 and 36 K - those gonna get > sick submitting your form. > > Plus a page view. > > > > Sincerely, > > Maxim Maletsky > Founder, Chief Developer > > PHPBeginner.com (Where PHP Begins) > maxim <email protected> > www.phpbeginner.com > > > > > -----Original Message----- > From: Boget, Chris [mailto:Chris.Boget <email protected>] > Sent: Tuesday, July 10, 2001 1:51 AM > To: 'PHP'; php-general <email protected>; Alexander Deruwe > Subject: RE: [PHP] HTML/PHP's static state problem. > > > > I've done this very thing for a leasing company. I used > > PHP and MySQL to create a series of arrays in Javascript. > > When the user clicked on a value in the first combobox I > > used onClick to call a function which loaded information > > into the second box. > > A definite possibility. The only downside being is if there is > *alot* of data it'll take a while for the user to DL the page. > > Chris > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe <email protected> > For additional commands, e-mail: php-general-help <email protected> > To contact the list administrators, e-mail: php-list-admin <email protected> >

-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>