Forum Moderators: coopster
Last couple of hours online suggest that I am not alone. Is this seemingly easy process not so at all? Here's the bits of simple code that should work, shouldn't they?
**** From first page -
echo "<form action='TownsInThoseCounties.php' method='POST'>\n";
while ($row = mysql_fetch_array($result))
{
extract($row);
echo "<input type='checkbox' name='interest[$Area]' value='$Area'>$Area\n";
echo "<br>\n";
}
echo "<p><input type='submit' value='Select these counties'>
</form>\n";
**** Into the second -
foreach ($_POST as $field => $value)
{
echo "$field = $value<br>";
}