Bookings Table Structure:

FieldTypeNullKeyDefaultExtra
idintNOPRIauto_increment
user_idintYESMUL
equipment_idintYESMUL
quantityintYES
rental_daysintYES
total_amountdecimal(10,2)YES
booking_datetimestampNOCURRENT_TIMESTAMPDEFAULT_GENERATED
event_idintYES
statusenum('pending','accepted','rejected')YESpending
start_datedateYES
end_datedateYES
time_slotvarchar(50)YES
customer_namevarchar(100)YES
customer_phonevarchar(20)YES
delivery_addresstextYES

Recent 5 Bookings:

Array
(
    [id] => 1
    [user_id] => 1
    [equipment_id] => 1
    [quantity] => 1
    [rental_days] => 2
    [total_amount] => 2000.00
    [booking_date] => 2026-10-05 06:23:19
    [event_id] => 
    [status] => pending
    [start_date] => 2026-01-16
    [end_date] => 2026-01-18
    [time_slot] => Full Day
    [customer_name] => Test User
    [customer_phone] => 9876543210
    [delivery_address] => Test Address
)