I want to make a music playing website where users can save playlists of songs to be regenerated later. I’m kind of a newbie to sql, but it seems like databases are meant to hold fixed-length variables, whereas a user-generated playlist would be an arbitrary length. There are a couple ways I’ve thought of to handle this:
- Separate tables (maybe another table for each playlist? )
- XML
I feel like there’s an easy third way I’m missing. I’m doing this in php, but if there’s a super easy way using django I’d also be interested.
2 tables: