I want to store values in the form of comma separated ids. For eg : 1,2,3...
Consider the below example
Songs table with field id, name.
Playlists table with id, playlist_name, songs_ids.
1 playlist has many songs. So I was storing them comma separated values.
In settings I've added the below code for songs_ids column
Hello,
I want to store values in the form of comma separated ids. For eg : 1,2,3... Consider the below example Songs table with field id, name. Playlists table with id, playlist_name, songs_ids. 1 playlist has many songs. So I was storing them comma separated values. In settings I've added the below code for songs_ids column
In the dropdown I am able to select multiple songs but while inserting in database I'm getting the below error
Please let me know whether I've implemented it properly.