Re: A real problem
| From: | Phpu | Date: | Mon, 26 Apr 2004 21:38:00 +0000 |
| Subject: | Re: A real problem | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-184700@lists.php.net to get a copy of this message | ||
I think it is a optimal solution.
Plese show me how can i do that.
Thanks
----- Original Message -----
From: "John W. Holmes" <holmes072000@charter.net>
To: "Phpu" <phpu@go.ro>; <php-general@lists.php.net>
Sent: Monday, April 26, 2004 11:03 PM
Subject: Re: [PHP] A real problem
> From: "Phpu" <phpu@go.ro>
>
> > I have this list that interogates the database
> > and display the name of the brand.
> > <select name="brand">
> [snip]
> > each brand has more than one model.
> > when i chose one of the brands i want to
> > be displayed o form like this (in real time):
> [snip]
>
> If you want to use PHP, then you're going to need to make the user first
> select a "brand" then submit the form and load the "models" associated
with
> that brand on the next page. If this is a valid solution, let us know and
we
> can show you how to do it (you've basically got it already).
>
> If you want all this to happen on the same page without an actual form
> submission, then you need to pursue an answer on a JavaScript mailing list
> and/or forum. PHP can be involved in this somewhat to help generate the
> JavaScript, but it's not doing any of the actual work. Get a basic example
> going first, and then we can tell you how to add in the PHP.
>
> ---John Holmes...
>