I think i'm half way there with this issue. Basically i've got a dropdown box which gets mysql data and displays it. I am now trying to figure out how to post that dropbox value with it's mysql data into a html form with textboxes.
I've attached a screenshot of what the page looks like and i've copied in the code done so far.
Any help would make my day, and my headache go away 🙂 Thanks
<?php
include('includes/connect.php');
echo "Select a Member: <select name='member-list'>";
$query="select member_id, firstname, lastname from members ORDER BY firstname asc";
$result=mysql_query($query);
while($row=mysql_fetch_array($result)){
$id=$row['member_id'];
$fname=$row['firstname'];
$lname=$row['lastname'];
echo "<option value='".$row['member_id']."'>".$row['firstname']." ".$row['lastname']."</option>";
}
echo "</select>";
?>