Best way to store an array in MySQL database?
Definitely not a text field, but a varchar — perhaps. I wouldn’t recommend parsing the results and storing them in individual columns unless you want to take advantage of that data in database sense — statistics etc. If you never see yourself asking “What is the average volume that users use?” then don’t bother parsing it. To figure out … Read more