Answers for "HOW TO GET THE COUNT VALUE IN MYSQL IN PHP"

PHP
1

get count sql query in php

$result=mysql_query("SELECT count(*) as total from Students");
$data=mysql_fetch_assoc($result);
echo $data['total'];
Posted by: Guest on February-18-2021

Code answers related to "HOW TO GET THE COUNT VALUE IN MYSQL IN PHP"

Browse Popular Code Answers by Language