Code: Select all
<html>
<form method="POST" action="uploadlist.php">
<table align="center" border="1" width="600">
<tr>
<th>Asset Tag</th>
<th>Type</th>
<th>Service Tag</th>
<th>User</th>
</tr>
<?php foreach( $data as $row ) { ?>
<tr>
<td><input name="Asset_Tag" value = "<?php echo( $row['Asset_Tag']); ?> "/></td>
<td><input name="Type" value = "<?php echo( $row['Type']); ?> "/></td>
<td><input type="hidden" name="Service_Tag" value = "<?php echo( $row['Service_Tag']); ?>"/></td>
<td><input name="User" value = "<?php echo($row['User']); ?> "/></td>
<td><input type="hidden" name="_submit_check" value="1"/> </td>
</tr>
<?php
} ?>
<td><input type="submit" value="Send to Database"/></td>
</table>
</form>
</html>the variables display when the page loads but when I click the form button how do I process the array on another page because POST doesn't seem to work.