How vaishnavithevar/salon_management works
This is a PHP salon appointment-booking application with customer booking, slot availability, payment, appointment management, and an admin dashboard. The main flow selects a service, stylist, date, and available time, then records a pending appointment and unpaid payment; customers can later pay or cancel, while administrators update appointment status. The excerpts show the database connection and individual page behavior, but not the booking form’s submission target or the JavaScript request URL for slot lookup, so those links are omitted.
Main entry points: db.php PDO connection · my_bookings.php My appointments · pay.php Payment confirmation · index.php Booking interface
Components 10
Booking
- Booking interface
index.php - Slot availability
get_slots.php - Booking processing
process_booking.php
Customer management
- Payment confirmation
pay.php - My appointments
my_bookings.php
Administration and data
- Admin dashboard
admin.php - PDO connection
db.php - Salon database
Other components
- Customer
- Administrator
Connections 13
- Customer → Booking interface: opens booking
index.php - Customer → Booking processing: submits booking
process_booking.php - Customer → My appointments: views appointments
my_bookings.php - Customer → Payment confirmation: submits payment
pay.php - Administrator → Admin dashboard: manages appointments
admin.php - Booking interface → PDO connection: loads PDO
index.php - Slot availability → PDO connection: loads PDO
get_slots.php - Booking processing → PDO connection: loads PDO
process_booking.php - Payment confirmation → PDO connection: loads PDO
pay.php - My appointments → Payment confirmation: links to pay
my_bookings.php - My appointments → PDO connection: loads PDO
my_bookings.php - Admin dashboard → PDO connection: loads PDO
admin.php - PDO connection → Salon database: connects to
db.php