How can i make the result from fetch_revenue display on the table
<?php // Database connection $host = ‘localhost’; // Change this as needed $dbname = ‘cms_db’; // Your database name $username = ‘root’; // Your database username $password = ”; // Your database password try { $pdo = new PDO(“mysql:host=$host;dbname=$dbname”, $username, $password); $pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); } catch (PDOException $e) { die(“Connection failed: ” . $e->getMessage()); } // […]
How to make the result from fetch_revenue display on the table
<?php // Database connection $host = ‘localhost’; // Change this as needed $dbname = ‘cms_db’; // Your database name $username = ‘root’; // Your database username $password = ”; // Your database password try { $pdo = new PDO(“mysql:host=$host;dbname=$dbname”, $username, $password); $pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); } catch (PDOException $e) { die(“Connection failed: ” . $e->getMessage()); } // […]