By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Search results

  1. I

    How do I display the new comment in the comments section when added and still keep the submission ajax code?

    My code is below: $commentsQuery = "SELECT username, created_at, content FROM comments WHERE post_id ={$row['id']} ORDER BY created_at DESC"; $commentsResult = mysqli_query($con, $commentsQuery); $commentsCount = $commentsResult->num_rows; if ($commentsCount > 0) { echo "<details>...
  2. I

    How do I make this layout possible?

    I have tried many, many times to make this possible but can't figure out how to get the comments box and button to be inline with the reactions emojis and I can't get it working. It has frustrated me so much that I have thought of quitting the project but I'm hoping I won't have to and I'm...
  3. I

    PHP How do I get the video to unmute when scrolled into view but mute when out of view?

    I'm working on a social media platform and I need help fixing my code below so that when the user scrolls to a video, that specific video is unmuted and all other videos are muted, and when the user scrolls to another video, all videos are muted (including the one they just watched) and the new...
Top Bottom