t;; <[EMAIL PROTECTED]>; "Alexander Deruwe"
<[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 scrat
)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: Boget, Chris [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 10, 2001 1:51 AM
To: 'PHP'; [EMAIL PROTECTED]; Alexander Deruwe
Subject: RE: [PHP] HTML/PHP's static state problem.
> I've done this v
> 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
As a matter of fact you can create dynamic comboboxes, but not with
soley PHP. Because PHP is server-side, it has no idea what the user has
selected on a form, etc. JavaScript, on the other hand, is client-side, so
it keeps track of what the user is doing.
I've done this very thing for
If it's not prohibitive, you can pre-load all the possibilities into
javascript arrays via PHP, and decide which to subset to display using
javascript. I did this on a large on-line kid's encyclopedia, where the
page could display different lists of links using javascript depending on
where they
> Basically I mean this: I load the page, it has two comboboxes
> ( with ).
> The first one contains names of countries, the second names
> of cities within those countries.
> When I select "Belgium" in the first one, I only want to see
> all Belgian cities.
> Now with JavaScript this wouldn't
riginal Message-
From: Alexander Deruwe [mailto:aderuwe@mayhem]On Behalf Of Alexander
Deruwe
Sent: Tuesday, July 10, 2001 3:39 AM
To: Maxim Maletsky
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] HTML/PHP's static state problem.
Hello Maxim,
Basically I mean this: I load the page, it has two comboboxes
Hello Maxim,
Basically I mean this: I load the page, it has two comboboxes ( with ).
The first one contains names of countries, the second names of cities within those
countries.
When I select "Belgium" in the first one, I only want to see all Belgian cities.
Now with JavaScript this wouldn't re
8 matches
Mail list logo