Hey guys, I have a website that has a url that looks sorta like this:
http://www.domain.com/photos.php?id=(image id);
Now, my question is, how can I add comments to each picture using mysql and php.
Hey guys, I have a website that has a url that looks sorta like
Share
You will probably want a new table to link the user with the comment with the picture:
table: comments
Then after you show the image, do another query for any comments:
You will also probably want to link each user’s username to the comment as well: