---------- Forwarded message ----------
From: Joseph Crawford <[EMAIL PROTECTED]>
Date: Fri, 10 Dec 2004 16:00:33 -0500
Subject: Re: [PHP-DB] Data from a pull down menu
To: [EMAIL PROTECTED]


well are you looking for an automatic page refresh when a name is
selected? If so you need to look into javascript for some help.  If
you have a go button or something like that what i would do is make
the drop down use the person's id and name such as

<select name="person">
<option value="3">Joe Crawford</option>
</select>

when the form is posted the value of $_POST['person'] will be 3, i
would use that to query the database and display any intormation that
i needed displayed.

--
Joseph Crawford Jr.
Codebowl Solutions
[EMAIL PROTECTED]


-- 
Joseph Crawford Jr.
Codebowl Solutions
[EMAIL PROTECTED]

For a GMail account
contact me OFF-LIST

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to