MaxBodine Posted July 20, 2010 Share Posted July 20, 2010 I am new to this. Using dreamweaver, php and mySQL. I will receive a xls file to upload into mySQL. One of the fields contains the Color, size and qty. I am not sure how to take these and populate a select list? Here is an example of 4 products and the data I get for each. It looks like I should be seperating them after each simicolon. I was reading split should not be used. Just lost. Thanks for any help, I attached a file to look at. Black -:- One Size ~ 0;Black -:- XL ~ 636;Red -:- One Size ~ 0;Red -:- XL ~ 232;White -:- XL ~ 0;White -:- One Size ~ 0 Red/White -:- XL ~ 168;Red/White -:- One Size ~ 0 Red/White -:- XL ~ 192 Light Pink -:- XL ~ 0;Light Pink -:- S/M ~ 0;Light Pink -:- M/L ~ 0;Black -:- S/M ~ 0;Black -:- M/L ~ 0;Black -:- XL ~ 0;White -:- S/M ~ 12;White -:- M/L ~ 0;White -:- XL ~ 0;Red -:- S/M ~ 20;Red -:- M/L ~ 0;Red -:- XL ~ 0 [attachment deleted by admin] Link to comment https://forums.phpfreaks.com/topic/208316-this-redwhite-xl-~-168redwhite-one-size-~-0-into-a-select-list/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.