Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #107.41K
~3K People Reached
Favorite Forums
Favorite Tags
php x 1
Member Avatar for manc1976

Hi I am using the following code to give the user a choice of options in a drop down box: [CODE] <?php $query="SELECT location,id FROM area"; $result = mysql_query ($query); echo "<select name=location_id value=''>location</option>"; while($nt=mysql_fetch_array($result)){ echo "<option value=$nt[id]>$nt[location]</option>"; } echo "</select>"; ?> [/CODE] It retrieves all of the options from …

Member Avatar for Syed_2
0
3K