Menu
Will this not work (well, obviously it doesn’t or I wouldn’t be inquiring.) I need to call variable created in a previous form but don’t know how many I have until it is carried over. I have an input in my previous showing how many there are in the file. Now I’m trying to do this but it doesn’t produce anything.
[code=php]
for ($i=0;$i<=$num_of_lines;$i++)
{
$checkbox[$i] = $_POST[‘checkbox[$i]’];
}
This won’t even work for me.
[code=php]
for ($i=0;$i<=$num_of_lines;$i++)
{
$checkbox[$i] = $_POST[‘checkbox$i’];
}