Trying to make a short to do list.
show item to do-->click who you are
$who and $item sends to top to show that item no longer there, but the rest are
<?
echo "Here is the list of things that need to be done!";
echo "<form>";
while($row3 = mysql_fetch_array($result6))
{
//where and item
echo "<b> Where:</b> " . $row3['where'] . " Item: " . $row3['item'] . "</td> <input type='hidden' name='submitteddone' id='submitteddone' value=\"{$row3['item']}\"><input type='checkbox' name='itemchecked' id='itemchecked' value=\"{$row3['item']}\">";
echo "</br>";
}while($row4 = mysql_fetch_array($result5))
{
// Show who is clocked in
echo "<span ><span style=\"padding-left:4px;\"\"><input type=\"submit\" class=\"person-in\" name=\"persondid\" id=\"persondid\" value=\"{$row4['person']}\" />";
}
echo "</form>";
?>
I can get the second 'while' to show up. Much less get the second to show up beside the item shown.
Example:
Where: Garage Item: Sweep it dude! [Mom] [Dad] [Son]
Where: Kitchen Item: Mop it dude! [Mom] [Dad] [Son]
Where: Garage Item: Clean it dude! [Mom] [Dad] [Son]