filtering active content on my site with checkboxes?

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
puns0steel
Forum Newbie
Posts: 3
Joined: Wed Apr 30, 2008 6:35 pm

filtering active content on my site with checkboxes?

Post by puns0steel »

I'm working on a portfolio site with about 50 flash SWFs displayed on the same page with no formatting. I'd like to only display the SWFs the user wants to see. Is there a way to filter which SWFs are shown by using check boxes and a submit button? How would that work? Is PHP the right solution?

The filter menu, for example:

_ Print
_ Web
_ Outdoor
_ Misc


Simpler is better, but I can handle some coding.

Thanks!

-Kenny
anuwidy
Forum Newbie
Posts: 1
Joined: Thu May 01, 2008 1:46 pm

Re: filtering active content on my site with checkboxes?

Post by anuwidy »

at first yes, you can use checkbox and submit button for user to make selection which swf he/she want to see, after the selection phase is done you can save the choosed swf id or something unique in COOKIE or in session (if you want the selection only valid for each time he/she visit).

right or not PHP as solution for your case it's depend. hope my answer will help. cheers :wink:
Post Reply