Skip to content

mmchouuu/Website_BanHoa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Website_BanHoa

Flower shop website (PHP + MySQL) with storefront and admin pages.

Features

  • Product listing, details, search, and filters
  • Cart and checkout
  • User login/register and account profile
  • Admin pages for products, orders, and users

Tech Stack

  • PHP (mysqli)
  • MySQL or MariaDB
  • HTML/CSS/JS (templates in the repo root, static assets in assets/)

Project Structure

  • assets/: images, css/js assets
  • *.php: server-side pages (shop, cart, checkout, admin, auth)
  • *.html: static templates and variants

Setup (Local)

  1. Install PHP + MySQL (XAMPP/WAMP/Laragon are common choices).
  2. Create a database and tables.
    • The code currently references multiple names:
      • Database: productdb (see db.php, connect.php)
      • Database/Table defaults in createdb.php: Newdb / Productdb
      • Table: Productttb appears in queries
    • Pick one database/table name and make it consistent across the code.
  3. Update DB credentials in:
    • db.php
    • connect.php
    • config.php
    • config_pro.php

Run

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

Notes

  • index.php is currently empty; the primary entry is index.html or home.php.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages