Update: 2026-07-04 21:53:06

This commit is contained in:
Hamza-Ayed
2026-07-04 21:53:06 +03:00
parent 9a027e2535
commit 9cf88adbd5
2 changed files with 0 additions and 17 deletions
-7
View File
@@ -85,13 +85,6 @@ try {
if ($reportHtml) {
// Save to database
$con->query("CREATE TABLE IF NOT EXISTS `marketing_reports` (
`id` INT AUTO_INCREMENT PRIMARY KEY,
`platform` VARCHAR(50) NOT NULL,
`report_html` TEXT NOT NULL,
`created_at` DATETIME DEFAULT CURRENT_TIMESTAMP
)");
$stmt = $con->prepare("INSERT INTO marketing_reports (platform, report_html) VALUES (?, ?)");
$stmt->execute([$platform, $reportHtml]);
}