ruraldev Posted September 10, 2009 Share Posted September 10, 2009 Hi I wonder if anyone can help with the following problem I am having. Select items from a table and populate either a list or checkbox group or really anything which allows a user to choose more than 1 option User selects the options they want and the options are passed to a query where if the field queried is equal to any of the selections the user has made the row is returned in the results I can do the basic stuff but I get stuck with the multiple selection requirement and not sure if a list or checkbox group is actually the right way to do it I am using Dreamweaver CS4 (quite happy to code manually though), mysql and php Any help much appreciated Thanks Gordon Quote Link to comment https://forums.phpfreaks.com/topic/173745-select-multiple-choices-from-list-or-checkbox-group/ Share on other sites More sharing options...
prasanthmj Posted September 10, 2009 Share Posted September 10, 2009 I guess checkbox group should be the right choice from a useability perspective(if the number of options is within a limit (~10 ?)) If you are wondering how to handle check box groups, here is an article that may be of help: Handling checkbox in a PHP form processor and also select box in a PHP form Quote Link to comment https://forums.phpfreaks.com/topic/173745-select-multiple-choices-from-list-or-checkbox-group/#findComment-915896 Share on other sites More sharing options...
ruraldev Posted September 10, 2009 Author Share Posted September 10, 2009 Hi Thanks, I can do it manually no problem my issue comes when I want to populate the checkbox options from a recordset Thanks Gordon Quote Link to comment https://forums.phpfreaks.com/topic/173745-select-multiple-choices-from-list-or-checkbox-group/#findComment-915898 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.