Warning: include(conn.php): Failed to open stream: No such file or directory in E:\phpwebsite\project61_g15\addpromotion.php on line 3

Warning: include(): Failed opening 'conn.php' for inclusion (include_path='C:\xampp2022\php\PEAR') in E:\phpwebsite\project61_g15\addpromotion.php on line 3

Warning: Undefined array key "Categories" in E:\phpwebsite\project61_g15\addpromotion.php on line 7

Warning: Undefined array key "Details" in E:\phpwebsite\project61_g15\addpromotion.php on line 8

Warning: Undefined array key "Photo" in E:\phpwebsite\project61_g15\addpromotion.php on line 9

Warning: Undefined array key "PromotionEDate" in E:\phpwebsite\project61_g15\addpromotion.php on line 10

Warning: Undefined variable $conn in E:\phpwebsite\project61_g15\addpromotion.php on line 17

Fatal error: Uncaught TypeError: mysqli_query(): Argument #1 ($mysql) must be of type mysqli, null given in E:\phpwebsite\project61_g15\addpromotion.php:17 Stack trace: #0 E:\phpwebsite\project61_g15\addpromotion.php(17): mysqli_query(NULL, 'insert into `pr...') #1 {main} thrown in E:\phpwebsite\project61_g15\addpromotion.php on line 17