update a table and show the details of updated4 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) { }