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
<select name='brgylist' id='list'> <?php require_once "connection.php"; $result = mysql_query("SELECT `BrgyCode`,`Barangay` FROM `ref Barangay`"); while($rec = mysql_fetch_array($result)) { echo '<option value="'.$rec['BrgyCode'].'">'.$rec['Barangay'].'</option>'; } echo 'The Code selected is '.$rec['BrgyCode']; ?> </select> I want to store the selected dropdown list to a variable because i will use it to query to output in … |