How to get and echo number of records in row?this is my code
$b = "SELECT COUNT(Users) FROM room";
$r= mysqli_query($connection,$b);
$c = mysqli_fetch_array($r);
echo $c['Users'];
I get this error while i have it in room
table
Notice: Undefined index: ID in C:\xampp\htdocs\php\blog0\rooms.php on line 31