I want know what solution is more efficient (or know another better solution of course). If I have a website where any user can leave a comment for each post, what will be the better solution?
Serialize an array with all comments for that post in a column of database (I don't know if it is possible that two users leaving a comment at the same time can lead to data loss)
Or maybe is better the following:
Creating a specific table called comments, where I have an unique id for each post and other unique id for each username
I read that some people don't like use the serialize function, but I don't know if it is a good idea or not their use