sql update views +1 code example
Example: sql update views +1
$sqlviews = "UPDATE vendors SET views = views + 1
WHERE id = '$v_id'";
if ($conn->query($sqlviews) === TRUE) { }
$sqlviews = "UPDATE vendors SET views = views + 1
WHERE id = '$v_id'";
if ($conn->query($sqlviews) === TRUE) { }