Re: Auto Form Fill on option select

From: Date: Wed, 10 Nov 2004 07:12:29 +0000
Subject: Re: Auto Form Fill on option select
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-201651@lists.php.net to get a copy of this message
It's Sorted Now, It got Java'd. "Kevin Dell" <Kevin.Dell@bigfoot.com> wrote in message news:003e01c4c4f6$3d9b66d0$0300a8c0@dellylixPC... Hi all, I have a question that I can't get my head around and was hoping someone could answer for me. I have a form with a number of fields. Field one is a <td><select name="thisSteamField"></td> The option fields are built from an sql statement and a where clause builds the options fields ... <option value="<? echo $teamname; ?>"><? echo $teamname; ?></option> .... etc... When I select one of the options, the form automatically goes off and does another sql select a with the WHERE value of the selected $teamname, and then populates the next field, but I can't think how. Any pointers? TIA K

« previous php.general (#201651) next »