[PHPLIB] Dynamic php/mysql queries with <selects> From: Robert D. Matthews (rob <email protected>)
Date: 11/26/99

Hi,
I am trying to figure out how to make the contents of one <select> field
on a form be populated based off of the value of another <select> field
on the same form at runtime. The kicker is that they both need to pull
information from a database. If I can figure out how to get a
javascript function that will run a php3 script to query the database
then it's relatively simple task to populate the selections. I can
populate the first <select> field from the database as the form loads,
the thing I can't figure out is how then populate the second <select>
field as the value of the first changes. Anybody out there have any
clues for me?

Thanks in advance,

-Robert

rob <email protected>
-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.