+
+ Contact Us
+We'd love to hear from you. Please fill out the form below.
+
+
+
+
+
+
+
+
+ diff --git a/.env b/.env index 82c3514..e0a84b3 100644 --- a/.env +++ b/.env @@ -1,5 +1,5 @@ DB_HOST=127.0.0.1 DB_PORT=3306 -DB_DATABASE=local_db +DB_DATABASE=app DB_USERNAME=root -DB_PASSWORD=password +DB_PASSWORD=password \ No newline at end of file diff --git a/admin/index.php b/admin/index.php new file mode 100644 index 0000000..eada832 --- /dev/null +++ b/admin/index.php @@ -0,0 +1,47 @@ +query('SELECT * FROM leads'); +$leads = $stmt->fetchAll(); + +?> + + +
+ + +Welcome to the admin dashboard.
+ + +| ID | +Name | +Created At | +|
|---|---|---|---|
| = htmlspecialchars($lead['id']) ?> | += htmlspecialchars($lead['name']) ?> | += htmlspecialchars($lead['email']) ?> | += htmlspecialchars($lead['created_at']) ?> | +
Don't have an account? Register here
+We'd love to hear from you. Please fill out the form below.
+This is your dashboard.
+