CURDATE()";
$result = mysqli_query($connection, $query);
// Check if there are any rows returned
if (mysqli_num_rows($result) > 0) {
// Initialize $index before the loop
$index = 0;
// Output table header
echo"
";
echo"";
echo"
";
} else {
// No rows found
echo "No data found";
}
// Close the database connection
mysqli_close($connection);
?>