PHP Update Multiple Rows?

Teddy I.

New member
Hi !

I made a php page that shows me all the records from the table. On front of each record i putted a checkbox and i want for each records that has the checkbox checked to update in a new page.

Something like in the phpmyadmin .
Please tell me or give me a link to something like this.

Thanks a lot !
<form action="update.php" method="POST" name="form" id="form">
<table>
<tr>
<td></td>
<td>Name</td>
<td>Lastname</td>
<td>Email</td>
</tr>
<tr>
<td><input name="record" type="checkbox" id="record" value="<?php echo $row_recordset['id']; ?>" /></td>
<td><?php echo $row_recordset['name']; ?></td>
<td><?php echo $row_recordset['lastname']; ?></td>
<td><?php echo $row_recordset['email']; ?></td>
</tr>
</table>
<input type="submit" name="Submit" id="button" value="Edit" />
</form>
 
yo use a 'while' function... like while check boxes are checked, SELECT * FROM `checked_box`) $result .= displayed content
echo $result;


Can you understand that? Kinda mumbo jumbo, really fast answer mm.
 
Back
Top