I can get one variable to pass from the form to a table to be able to print out. But I cannot get a different one to pass to a table on another page...
Am I messing something? No errors, no data, weird... I cannot see any differences
<form action="update_flr_plan.php" method="post" >
<?
$connection = @mysql_connect("", "") or die("Could not Connect to Database Server");
$db = @mysql_select_db("move_db", $connection) or die("Could Not Select Database");
$sql = "SELECT ID, FirstName, LastName FROM employees WHERE Position = 'Collector' ORDER BY LastName ";
$result = @mysql_query($sql, $connection) or die("Could Not Execute Query");
echo '<select name = "employ1" ><option value="0">- Collector -</option>';
while ($row = mysql_fetch_array($result)) {
$id = $row['ID'];
$fname1 = $row['FirstName'];
$lname1 = $row['LastName'];
echo "<option value= \"$id1\">$lname1,$fname1</option>\n";
}
echo '</select>';
And it gets passed to update_flr_plan.php
like so...
<td class="style1">Collector: <? echo $_POST['employ1'] ; ?></td>