0

I am having an issue in this programming, I don't know what is the issue. I even checked with semicolons there is no issue regarding that

<?php

include('includes/db.php');

if(isset($_POST['view'])){

// $con = mysqli_connect("localhost", "root", "", "notif");

if($_POST["view"] != '')

{
   $update_query = "UPDATE comments SET comment_status = 1 WHERE comment_status=0";
   mysqli_query($con, $update_query);
}

0 Answers0