hi i have a little problem, that i want to print the count of id, so i write this:
$conn=mysqli_connect("localhost", "root", "","test") or die(mysqli_error());
$compt=mysqli_query($conn,"SELECT count(id) FROM `users`", MYSQLI_USE_RESULT);
print $compt;
to connect to db and extract the count id, i have an error and i dont know how to print it
help me please