diff --git a/submit_expense.php b/submit_expense.php
new file mode 100644
index 0000000..7d04623
--- /dev/null
+++ b/submit_expense.php
@@ -0,0 +1,133 @@
+prepare(
+ 'INSERT INTO expense_reports (agent_name, amount, description, status) VALUES (?, ?, ?, ?)'
+ );
+ $stmt->execute([$agent_name, $amount, $description, 'Pending']);
+ $success_message = 'Expense report submitted successfully!';
+ } catch (PDOException $e) {
+ // In a real app, you would log this error, not show it to the user.
+ $error_message = 'Database error: Could not submit the report.';
+ }
+ }
+}
+?>
+
+
+
+
+
+
Submit Expense Report
+
+
+
+
+
+
+
+