Commit 1a544daa authored by carboncrafters's avatar carboncrafters

ids

parent d46724ff
......@@ -125,7 +125,7 @@ include $_SERVER["DOCUMENT_ROOT"].'menu.html'; ?>
echo $obj["views"];
require $_SERVER["DOCUMENT_ROOT"].'/conn.php';
$sql = "UPDATE videos SET views=views + 1 WHERE id='$browlin[0]' ";
$sql = "UPDATE ids SET views=views + 1 WHERE id='$browlin[0]' ";
if ($conn->query($sql) === TRUE) {
} else {echo "Error: " . $sql . "<br>" . $conn->error;}
?>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment