I have a forums site I am creating with PHP and SQL.
I am thinking about compiling all user messages into one table called user_messages
It would be like:
<?php $senderId = 2; $recipientId = 3; $userMessage = "Hey, how's it going my friend?!"; $postedOn = date('m-d-y'); $insertMessage = $conn->prepare(" INSERT INTO user_messages(user_sender_id, user_recipient_id, user_message, posted_on) VALUES(?, ?, ?, ?) "); $insertMessage->bind_param("iiss",...