Page 1 of 1

PHP, JavaScript or sessions?

Posted: Mon Jun 20, 2005 11:03 pm
by spartan7
I have a results page which pulls 'contacts' from a database...There are so many records so it must be seperated by pagination. Checkboxes are setting up name=checkbox[] and value=(email from the database)....

I have a form setup around the results inorder for a user to select the contacts he wants and then click submit which transfers the checkbox data onto the next page where they can email the selected contacts. That works fine.

The thing is, the pagination works through an URL parameter, and if I use pagination I lose my checkbox data on the subsequent pages, how do I keep their ticked status?

I dont know how to have the checkboxes maintain their status across the pagination. Can ANYBODY give me a hint in the right direction of what to do? should I be using JavaScript for what I want to do?

Thanks

Posted: Mon Jun 20, 2005 11:08 pm
by hawleyjr

I apologise but...

Posted: Mon Jun 20, 2005 11:40 pm
by spartan7
I apologise but I was simply trying to clarify my question, trying to make it more intelligent in the hope of getting more feedback.

Regards