0){ echo "
× Multiple reviews are not Allowed
"; exit(); }else{ $sql = "INSERT INTO `reviews` (`review_id`, `product_id`, `name`, `email`, `review`, `datetime`, `rating`) VALUES (NULL, '$product_id','$name', '$email', '$review','$datetime', '$rating')"; if(mysqli_query($con,$sql)){ echo "Thanks for Better reach "; echo ""; exit; }else { echo "something went wrong"; } } } ?>