If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > add multiple values to a field (was "New at this, probably easy answer..")

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-25-05, 14:53
purpendicular purpendicular is offline
Registered User
 
Join Date: Mar 2004
Location: Rhode Island, USA
Posts: 55
add multiple values to a field (was "New at this, probably easy answer..")

I'm trying to add multiple values from a drop down list to a field in mysql.
The originating data is from another table of the same database.
I'd like to be able to (by "ctrl + click") select more that one of these from the list and add them to a single field within a file. I've got a few books and have done some online research on this but to no avail, is this possible in MySQL????
Edit: BTW. I'm using Dreamweaver MX 2004 as a web editor if that helps, and I've been able to make multiple selections with a tool option in the application, but only the first of the selected options is what's added in the MySQL field.

Thanks,
Ray
Attached Images
File Type: jpg multiple.JPG (34.6 KB, 108 views)

Last edited by purpendicular; 01-25-05 at 15:00. Reason: to add more background info
Reply With Quote
  #2 (permalink)  
Old 01-25-05, 23:35
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,525
adding multiple values to a field is not a good idea

adding multiple rows, with one value per field, that's fine
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
  #3 (permalink)  
Old 01-26-05, 11:41
purpendicular purpendicular is offline
Registered User
 
Join Date: Mar 2004
Location: Rhode Island, USA
Posts: 55
so what's the best way to go about this?
Reply With Quote
  #4 (permalink)  
Old 01-26-05, 12:15
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,525
add multiple rows, one for every value in the dropdown list
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On