// If the user clicks the "Post" button... if(isset($_POST['post_button'])){ $message = $_POST['my_message']; // This sends the message to your 'posts' table $sql = "INSERT INTO posts (user_id, content) VALUES ('1', '$message')"; mysqli_query($conn, $sql); // This refreshes the page so the message shows up header("Location: index.php"); } ?> Elijahs - Connect & Share

Welcome to Elijahs

Chat, share moments, and earn Eli coins!

Chat

Fast, fun messaging with friends and groups. Join chat rooms or start private conversations.

📱 Timeline Feed

Share photos, videos, and updates. Follow friends and see what they're up to in real-time.

🪙 Eli Currency

Earn and spend Eli coins. Buy gifts, unlock features, and tip your favorite creators.

🎥 Video Sharing

Upload videos up to 30 minutes. Auto-compression, thumbnails, and smooth streaming.