Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MySQL and Perl with multiple values

Status
Not open for further replies.

fergmj

Programmer
Feb 21, 2001
276
US
I have a MySQL table that has a column called colors
'colors' is a SET defined as 'blue', 'red', 'yellow, 'green'

On an HTML page, I have a scrolling_list (using CGI.pm) that is populated from the SET of colors.

I want the user to be able to select (for example) two colors 'blue' and 'yellow' and then hit a submit button and I need to store the two values in a record.

How can I do this? All of my other data is just one item and that is very easy to store but I am lost on this one.

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top