In my php pagination ,i want to set the check box's values(Book ids coming from database) when they are checked.So that when i come respective pages by clicking the respective links in my pagination ,the check boxes which were checked before remain checked.
I have seen your reply but in my case how i use it so that at a time more than one check box's values can be set into cookies as well as get from the cookies.
Maybe using $_SESSION is more appropriate in this case ... or you could serialize the $_POST checkbox array and pass it to the next page via hidden field. I don't think using cookies in this case is a good solution.
There are 10 types of people in this world, those who understand binary and those who don't