Yes they are. I didn't check if your script will work, but you can use variables with another variable.
$o1 = 0;
$o2 = $o1 + 1;
Now the value of o2 is NOT $o1 + 1, the value of o2 is 1. When you point to a variable in another variable, the contents of the variable are actually copied, not just a pointer to the first variable.
Just a guess, but the same is probably true for an array.
so brendan, youre saying that something like this:
$contents = "<b>$o".$i.":</b>";
should work fine? so the first time through the loop, it should print out the value of $o1? alright then, ill try it out...otherwise ill try to work the code so $o is set to an array...it should work...
oh, another question: to set the values of an array, do you have to use the array() function? or can values simply be set like:
$o = 8;
$o = 5;
etc etc, without even touching the array() function?
yeah i used $clear = $_POST["clear"]; just cause i find it easier to work with if i have to type it out a million times...the thing is that i wasnt sure what value it gave out when the checkbox was checked - for things like textboxes and such, the value is returned, but for a checkbox, both the name and value are already defined...anyways it works now, so problem is solved