Count select row from MySQL table use mysqli_num_rows() function in you view page. In php dispaly all selected row echo count row, that’s like
echo(mysqli_num_rows($sql));
First select row from MySQL table and show how many row is count, follow the example:
<?php $sql=mysqli_query($con,"SELECT * FROM Table Name"); $row=mysqli_num_rows($sql); echo $row;
Question and answer is powered by AnsPress.io