RE: [PHP] Dynamically created dropdowns

From: Date: Tue, 04 Dec 2001 18:42:09 +0000
Subject: RE: [PHP] Dynamically created dropdowns
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-76566@lists.php.net to get a copy of this message
That's true, but you could use PHP and the MySQL data to generate the JavaScript arrays for the dynamic menus... you can escape into PHP within the <SCRIPT> tags of an HTML page just as easily as you can within the <HEAD> or <BODY> tags. -Andy > -----Original Message----- > From: Michael Hall [mailto:admin@openlearningcommunity.org] > Subject: Re: [PHP] Dynamically created dropdowns > You can certainly do what you want in straight PHP if you include a form > submission after selecting the manufacturer. There is probably a way of > doing it in JavaScript without a form submission, but not one that will > read data from a MySQL database on a remote machine. JavaScript can't do > that.

« previous php.general (#76566) next »