Fwd: Data from a pull down menu

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---------- Forwarded message ----------
From: Joseph Crawford <codebowl@xxxxxxxxx>
Date: Fri, 10 Dec 2004 16:00:33 -0500
Subject: Re:  Data from a pull down menu
To: davidson@xxxxxxxxxxxx


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
codebowl@xxxxxxxxx


-- 
Joseph Crawford Jr.
Codebowl Solutions
codebowl@xxxxxxxxx

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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux