Flower shop website (PHP + MySQL) with storefront and admin pages.
- Product listing, details, search, and filters
- Cart and checkout
- User login/register and account profile
- Admin pages for products, orders, and users
- PHP (mysqli)
- MySQL or MariaDB
- HTML/CSS/JS (templates in the repo root, static assets in
assets/)
assets/: images, css/js assets*.php: server-side pages (shop, cart, checkout, admin, auth)*.html: static templates and variants
- Install PHP + MySQL (XAMPP/WAMP/Laragon are common choices).
- Create a database and tables.
- The code currently references multiple names:
- Database:
productdb(seedb.php,connect.php) - Database/Table defaults in
createdb.php:Newdb/Productdb - Table:
Productttbappears in queries
- Database:
- Pick one database/table name and make it consistent across the code.
- The code currently references multiple names:
- Update DB credentials in:
db.phpconnect.phpconfig.phpconfig_pro.php
Option A: Place this folder under your web root (e.g. htdocs) and open:
http://localhost/Website_BanHoa/index.html
Option B: PHP built-in server from repo root:
php -S localhost:8000
Then open:
http://localhost:8000/index.html
index.phpis currently empty; the primary entry isindex.htmlorhome.php.