Submit button not working on second row
-
page under construction; the first row (displayed vertically) accepts edits using the submit button. Subsequent rows do not seem to recognize it. What did I do wrong?
global $wpdb; $wpdb->show_errors(true); $retrieve_data = $wpdb->get_results("SELECT * from AAUW_Desc order by LastName Limit 10;"); if(!empty($retrieve_data)) { echo "<tr><form action='https://hsysgrp.com/AAUW/wp-content/themes/twentytwenty-child/AAUW_UpdateDesc.php' method = post>"; foreach($retrieve_data as $row){ echo "<table>"; echo "<tbody>"; echo "<title> <h1>Members Desc Table<h1></title>"; echo "<tr><th>ID</th><td><input type=text name=ID value='".$row->ID."'></td></tr>"; echo "<tr><th>First Name</th><td><input type=text name=FirstName value='".$row->FirstName."'></td></tr>"; echo "<tr><th>Last Name</th><td><input type=text name=LastName value='".$row->LastName."'></td></tr>"; echo "<tr><th>Birthday</th><td><input type=text name=Birth_Day value='".$row->Birth_Day."'></td></tr>"; echo "<tr><th>Birth MonthDate of Birth</th><td><input type=text name=Birth_Month value='".$row->Birth_Month."'></td></tr>"; echo "<tr><th>Member Type</th><td><input type=text name=Mem_Type value='".$row->Mem_Type."'></td></tr>"; echo "<tr><th>Honorary</th><td><input type=text name=Honorary value='".$row->Honorary."'></td></tr>"; echo "<tr><th>Active</th><td><input type=text name=Active value='".$row->Active."'></td></tr>"; echo "<tr><th>Joined Local</th><td><input type=text name=Joined_Local value='".$row->Joined_Local."'></td></tr>"; echo "<tr><th>Joined Nat'l</th><td><input type=text name=Joined_Natl value='".$row->Joined_Natl."'></td></tr>"; echo "<tr><th>Mailings</th><td><input type=text name=Mailings value='".$row->Mailings."'></td></tr>"; echo "<tr><th>Positions Held</th><td><input type=text name=Positions_Held value='".$row->Positions_Held."'></td></tr>"; echo "<tr><th>Notes</th><td><input type=text name=Notes value='".$row->Notes."'></td></tr>"; echo "<tr><th>Referred</th><td><input type=text name=Referred value='".$row->Referred."'></td></tr>"; echo "<tr><th>Retired</th><td><input type=text name=Retired value='".$row->Retired."'></td></tr>"; echo "<tr><th>Employer</th><td><input type=text name=Employer value='".$row->Employer."'></td></tr>"; echo "<tr><th>Occupation</th><td><input type=text name=Occupation value='".$row->Occupation."'></td></tr>"; echo "<tr><th>Positions</th><td><input type=text name=Positions value='".$row->Positions."'><td><input type = submit ></td></tr>"; echo "</tbody>"; echo "</table>"; echo "</form>"; } }
The error log complains that the “header() expects at least 1 parameter, 0 given”? Is this a clue?
The page I need help with: [log in to see the link]
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘Submit button not working on second row’ is closed to new replies.