I did have a query at the beginning for the edit page but it did not populate of the fields eventhough I was using the member_id to locate the correct records from the database. Now I modified the code for the display page as:
<form name="form1" id="form1" method="post" action="edit_wqi_member.php?member_id=$radiobutton&l_name=$lastname&f_name=$firstname&m_name=$middlename&street=$street&city=$city&state=$state&zip=$zip&phone=$phone&email=$email">
<table width="760" cellspacing="2" cellpadding="0">
I created hidden fields on the display screen to store the record data
such as:
<input type="hidden" name="lastname" value="<?php echo $row1["l_name"]; ?
<input type="hidden" name="firstname" value="<?php echo $row1["f_name"]; ?>" />
<input type="hidden" name="middlename" value="<?php echo $row1["m_name"]; ?>"
<input type="hidden" name="street" value="<?php echo $row1["street"]; ?>" />
<input type="hidden" name="city" value="<?php echo $row1["city"]; ?>" />
<input type="hidden" name="state" value="<?php echo $row1["state"]; ?>" />
<input type="hidden" name="zip" value="<?php echo $row1["zip"]; ?>" />
<input type="hidden" name="phone" value="<?php echo $row1["phone"]; ?>" />
<input type="hidden" name="email" value="<?php echo $row1["email"]; ?>" />
The form action=edit_wqi_member.php?blahblahblah would take all the data stored and spit it out to the edit screen...
But now for some reason the very first person I selected to edit constantly populates the edit page fields even though I am selecting a different radio button (corresponding to a different member.)
I printed the member_id to the display screen as well as the edit page screen and found that the member_id was being passed from the display page to the edit page. But after that nothing happens.
When I then hit the submit button at the bottom of the edit page it does not update the database.
So I have two lousy new problems, but I guess progress is being made.
I just don't know where to go from here.
Thanks again for your suggestions. I really appreciate your time.
I'm lost now.
