How can I parse data by commas (red,blue,orange) then add them to an array?
I'm not sure what you mean by 'parse data by commas', but if you mean take a list seperated by commas, and make each item between the commas a seperate key in an array, then have a look at explode().
Cgraz
exactly what i wanted 🙂