php-windows | 2001042
Date: 04/19/01
- Next message: Derick Rethans: "[PHP-WIN] Re: [PHP-DEV] RE: [PHP-WIN] Dynamic Pulldown lists"
- Previous message: Manesh: "RE: [PHP-WIN] mysql"
- Maybe in reply to: Robert Trembath: "[PHP-WIN] Dynamic Pulldown lists"
- Next in thread: Derick Rethans: "[PHP-WIN] Re: [PHP-DEV] RE: [PHP-WIN] Dynamic Pulldown lists"
- Reply: Derick Rethans: "[PHP-WIN] Re: [PHP-DEV] RE: [PHP-WIN] Dynamic Pulldown lists"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
>-----Original Message-----
>From: Robert Trembath [mailto:robert <email protected>]
>Sent: Thursday, April 19, 2001 10:10 PM
>To: php-windows <email protected>; php-dev <email protected>
>Subject: [PHP-WIN] Dynamic Pulldown lists
>
>
>A little help from anyone please.
>
>I know this was discussed before but I can't find it now that I need it. I
>want to dynamically populate a pulldown list from a mysql query based on
>what is selected from another pulldown list populated by a query from
mysql.
>If the first choice is changed a different list of option is populated in
>the second. Please help!
In meta code:
DO DBQUERY <fetch [list] with argument [which list] from the previuos form>
DO WRITE "<FORM ... etc, etc>"
DO WRITE " <SELECT ... etc, etc, blaha, blaha>
DO WHILE <not end of the [list]>
DO WRITE " <OPTION VALUE=" + <your value for this [list].[element] +
">"
DO WRITE " [list].[element]"
DO WRITE " </OPTION>"
END WHILE
DO WRITE " </SELECT>"
DO WRITE "</FORM>"
And at last and most important:
WHILE (NOT <understand HTML>)
GOTO http://www.w3.org/MarkUp/Guide/
END WHILE
IF (<still wants to learn more>)
GOTO http://www.w3.org/MarkUp/Guide/Advanced.html
ELSE IF (<wants to read core specification>)
GOTO http://www.w3.org/TR/html401/
ELSE IF NOT (<know how to program something>)
<read Knut's handbook>
ELSE IF (NOT <problem still solved>)
<then ask for help>
END IF
-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-windows-unsubscribe <email protected> For additional commands, e-mail: php-windows-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Derick Rethans: "[PHP-WIN] Re: [PHP-DEV] RE: [PHP-WIN] Dynamic Pulldown lists"
- Previous message: Manesh: "RE: [PHP-WIN] mysql"
- Maybe in reply to: Robert Trembath: "[PHP-WIN] Dynamic Pulldown lists"
- Next in thread: Derick Rethans: "[PHP-WIN] Re: [PHP-DEV] RE: [PHP-WIN] Dynamic Pulldown lists"
- Reply: Derick Rethans: "[PHP-WIN] Re: [PHP-DEV] RE: [PHP-WIN] Dynamic Pulldown lists"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

