Du skal kalde aggregatet ved at bruge as
søgeord for at kalde det fra mysql_fetch_assoc
$result=mysql_query("SELECT count(*) as total from Students");
$data=mysql_fetch_assoc($result);
echo $data['total'];
Du skal kalde aggregatet ved at bruge as
søgeord for at kalde det fra mysql_fetch_assoc
$result=mysql_query("SELECT count(*) as total from Students");
$data=mysql_fetch_assoc($result);
echo $data['total'];