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",...
#codango #developer #development #coder #coding
We're happy to share this resource that we found. The content displayed on this page is property of it's original author and/or their organization.