I have got a problem with checkboxes array and the form.
I have the results from table (MySQL) and checkbox (form) near the results.
I use:
echo "<input type=checkbox name=box[] value=".$['lp'].">";
for checkbox i.e. I create array of checkbox.
How can I remember the state of checkboxes in array and pass it by GET?
I know how to do it with a single checkbox already selected inside the code:
$next = " <a href=\"$self?page=$page&$box=13\">"."›" ."</a>
but I don't know how to check its state and remember.
I use paging of the results with GET and canot use POST because it is reserved for passing data to another form.
Any help is welcome :)