Hello,
I think this sample code will try and explain what I'm doing fairly well.. I hope..
for($i=0;$i<$papers;$i++) {
echo "Paper $i: papers[$i]\n<br>";
}
I'll explain it, just in case. On the previous page, I submitted a lost of checkboxes, with the names papers0, papers1, papers2, etc.. Depending on the results of the search, there will be a varying number of check boxes. I would like to echo out the $papers0 $papers1 $papers2 variables by cycling through them, and the total number of papers is stored in the variable $paper.
If anyone could help, I'd greatly appreciate it.