PHP, JavaScript or sessions?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
spartan7
Forum Commoner
Posts: 29
Joined: Sun Jun 19, 2005 12:09 am

PHP, JavaScript or sessions?

Post 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
User avatar
hawleyjr
BeerMod
Posts: 2170
Joined: Tue Jan 13, 2004 4:58 pm
Location: Jax FL & Spokane WA USA

Post by hawleyjr »

spartan7
Forum Commoner
Posts: 29
Joined: Sun Jun 19, 2005 12:09 am

I apologise but...

Post 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
Post Reply