i’m creating an array using $_POST[‘cb’] to find which images are selected. each image has 2 textfields holding the file path to the big pic and the thumbnail respectively.
i can print $_POST[‘cb’] array and it returns the selected images correctly…but when i print $
which makes sense, so how can i get the correct or associated file paths to match up with their selected images? (all the values are being pulled from a database)
[CODE]
<input type=”checkbox” name=”cb[]” value=”$pID[$i]_$pstatus[$i]” class=”showhide_cb” id=”$pID[$i]”>
<input type=”hidden” value=”$bigs[$i];” name=”bigpath[]”>n
<input type=”hidden” value=”$thumbs[$i];” name=”tmbpath[]”>n
thanks!!