<?php
// get_doctors_count.php

 include("connect.php");

// Get the count from doctors table
$sql = "SELECT COUNT(*) AS total FROM doctors";
$result = $conn->query($sql);
$row = $result->fetch_assoc();

// Output the total count
echo $row['total'];

$conn->close();
?>
