edita row from databse using php

Solutions on MaxInterview for edita row from databse using php by the best coders in the world

showing results for - "edita row from databse using php"
Matías
20 Jul 2016
1<?php $results = mysqli_query($db, "SELECT * FROM info"); ?>
2
3<table>
4	<thead>
5		<tr>
6			<th>Name</th>
7			<th>Address</th>
8			<th colspan="2">Action</th>
9		</tr>
10	</thead>
11	
12	<?php while ($row = mysqli_fetch_array($results)) { ?>
13		<tr>
14			<td><?php echo $row['name']; ?></td>
15			<td><?php echo $row['address']; ?></td>
16			<td>
17				<a href="index.php?edit=<?php echo $row['id']; ?>" class="edit_btn" >Edit</a>
18			</td>
19			<td>
20				<a href="server.php?del=<?php echo $row['id']; ?>" class="del_btn">Delete</a>
21			</td>
22		</tr>
23	<?php } ?>
24</table>
25
26<form>
27    // ...