Jump to content

Select multiple choices from list or checkbox group


ruraldev

Recommended Posts

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

 

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

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.