Re: HTML/PHP's static state problem.
| From: | Aaron Bennett | Date: | Tue, 10 Jul 2001 18:01:29 +0000 |
| Subject: | Re: HTML/PHP's static state problem. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-57222@lists.php.net to get a copy of this message | ||
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@phpbeginner.com>
To: "Boget, Chris" <Chris.Boget@wild.net>; "'PHP'"
<phpmailinglist@yahoo.com>; <php-general@lists.php.net>; "Alexander Deruwe"
<a@deruwe.be>
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@phpbeginner.com
> www.phpbeginner.com
>
>
>
>
> -----Original Message-----
> From: Boget, Chris [mailto:Chris.Boget@wild.net]
> Sent: Tuesday, July 10, 2001 1:51 AM
> To: 'PHP'; php-general@lists.php.net; 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@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>