Need a Website Or Web Application Or Any Help In Code , Contact Us: +91 9437911966 (Whatsapp), Note: Paid Service
Students Tutorial app relased. Download Now.

PHP source code for count number of rows in a SQL table

<!DOCTYPE html>
<title>Count number of rows</title>
// Check connection
if (mysqli_connect_errno())
  echo "Failed to connect to MySQL: " . mysqli_connect_error();
$sql="select count('user_id') from login_user";
echo "$row[0]";
</body> </html>