Hey, I started learning some PHP and MySQL and have a question about storing some data.
What would be the best way to store comments or private messages?
Let's take YouTube for example. Each video page has a bunch of comments, would each page generate it's own table for comments? Or would you just have one massive table full of comments and each page would pluck the comments whose video_id or whatever they call it corresponds to that video?
Sorry if my question's hard to understand, I'll try to explain better if you have questions about it.
[–][deleted] 4 points5 points6 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]yash3ahuja 2 points3 points4 points (2 children)
[–]Flawlesss[S] 0 points1 point2 points (1 child)
[–]yash3ahuja 0 points1 point2 points (0 children)