I am populating a table through a "while" loop with usernames that come from MySql. The usernames that don't have a date associated with get a checkbox.
To check my results I use:
$box = $_POST[box];
print_r(box);
in the next script
My array gets filled when I use:
$table .= '<td><input type="checkbox" name="box[]" value="here is one"></td>';
My array has nothing, when I use:
$login = 'something';
$table .= '<input type="checkbox" name="box[]" value="<?php echo($login); ?>"></td>';
My array has nothing, when I use:
$table .= '<input type="checkbox" name="box[]" value="<?php echo($row['LoginID']; ?>"></td>';
So, what am I doing wrong?