Hi, I have a few questions in regards to checkboxes I wanted to confim.
Your code is below:
<input type="checkbox" name="checkbox[]" value="1">
<input type="checkbox" name="checkbox[]" value="2">
<input type="checkbox" name="checkbox[]" value="3">
<input type="checkbox" name="checkbox[]" value="4">
<input type="checkbox" name="checkbox[]" value="5">
Now what happens next?
The checkbox array is checkbox[0] = false ... checkbox[4] = false? (when clicked = true?)
- It seems to only add checkboxes once there clicked
If I wanted to pass only the CLICKED checkboxes what do I do then?
If I wanted to pass the checkboxes value between pages what would be the best method?
- Trying sessions at the moment
Can anyone please confirm my questions and point me into the right direction.
Much appericated, Thankyou, Regards X