sql update views +1

49

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

Comments

Submit
0 Comments