Try this
$sql = "SELECT COUNT(*) FROM project";
$result = $connection->query($sql);
if ($result->num_rows > 0) {
$row =$result->fetch_array();
$project_count = $row[0];
}
3
solved Undefined index: Project_Name [closed]
Try this
$sql = "SELECT COUNT(*) FROM project";
$result = $connection->query($sql);
if ($result->num_rows > 0) {
$row =$result->fetch_array();
$project_count = $row[0];
}
3
solved Undefined index: Project_Name [closed]