Code:
<form name="<?php echo $namex?>" action="insert.php" method="POST"> <input type="submit" name="<?php echo $namex?>" value="Update"/> </form> <?php echo "</tr>\n"; } ?>
i have a list of names, location, time/date (all from mysql db) and then an update button next to each person record. Now before I can even think how im going to determine which update button was clicked, i want the above just to get "talking" to the following...
Code:
<div align="right"><?php $namex = $_POST['Chris Britain']; echo $namex; ?> </div>
Anyone see why?
Comment