First I want to pick all the specific users. I think this is done like this?
$res= mysqli_query($con, "SELECT * FROM users WHERE test='$value'");
$num = mysqli_num_rows($res);
echo $num;
Lets say there are 37 users who achieves the requirements in the SELECT($num=37)
. How do I pick 7 random users of those 37 who I then UPDATE?