You could do the following:
<select name="name">
<option value="joe,[EMAIL PROTECTED]">Joe</option>
Then Split the value in the receiving script to get a 1-d array whose first
value is the name and second is the e-mail address.
Or you could just do another db lookup when you receive the form to grab
whatever info is necessary.
Wade
on 11/6/02 2:58 PM, Johnny Martinez at [EMAIL PROTECTED] wrote:
> Anyone have a tip on how to pass a hidden value along with the value in a
> <select> <option>?
>
> <select name="name">
> <option value="joe">Joe</option>
> <input type="hidden" name="email" value="[EMAIL PROTECTED]">
> <option value="fred">Fred</option>
> <input type="hidden" name="email" value="[EMAIL PROTECTED]">
> <option value="bill">Bill</option>
> <input type="hidden" name="email" value="[EMAIL PROTECTED]">
> </select>
>
> This is interrupting the <select><option>.
> I want to pass the "name" and "email" which I pulling from a database within
> a loop.
>
> Johnny
---
You are currently subscribed to activeserverpages as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]