<?php
$title = 'Sending review';
require_once __DIR__.'/config.php';
if(isset($_GET['sub_q'])) {
$uhash = $db_con->escape_string($_GET['uhash']);
$content = $db_con->escape_string($_GET['review_content']);
$page_url = $db_con->escape_string($_GET['page_url']);
mysqli_query($db_con, "UPDATE view_rating set review_content = '$content' WHERE user_hash ='$uhash' AND page_url = $page_url");
}
?>