How coderyasa089/indias_pride works
India’s Pride is a PHP restaurant website for browsing restaurant information and menu items, making table reservations with an optional food order, and checking order status by booking ID. The principal transaction is handled in booking.php: it records a reservation, optionally looks up menu prices and records an order and its items; order_status.php queries orders associated with a booking. The README also describes contact and restaurant information, though the contact form’s processing is not shown. Edges reflect the excerpts and README; database schema details beyond the shown queries are not inferred.
Main entry points: index.php Home · config.php DB Connection · menu.php Menu · booking.php Booking & Order
Components 10
Visitor Pages
- Home
index.php - Menu
menu.php - Restaurant Info
about.php - Contact
contact.php
Reservations & Orders
- Booking & Order
booking.php - Order Status
order_status.php
Database Access
- DB Connection
config.php - Restaurant Database
database/indias_pride_db.sql
Other components
- Customer
- MySQL Server
Connections 13
- Customer → Home: opens site
README.md - Home → Menu: links to
index.php - Home → Restaurant Info: links to
index.php - Home → Contact: links to
index.php - Home → Booking & Order: links to
index.php - Home → Order Status: links to
index.php - Menu → DB Connection: requires
menu.php - Booking & Order → DB Connection: requires
booking.php - Order Status → DB Connection: requires
order_status.php - DB Connection → MySQL Server: connects to
config.php - Menu → Restaurant Database: reads menu
menu.php - Booking & Order → Restaurant Database: reads prices; writes booking and order
booking.php - Order Status → Restaurant Database: reads order status
order_status.php