prepare( "INSERT INTO bookings (user_id, plot_id, amount, booking_date, proof_document, status) VALUES (:user_id, :plot_id, :amount, :booking_date, :proof_document, 'pending')" ); try { $stmt->execute([ ':user_id' => $_SESSION['user_id'], ':plot_id' => $plotId, ':amount' => $amount, ':booking_date' => $bookingDate, ':proof_document' => $uploadFile ]); $message = 'Booking submitted successfully! It is now pending approval.'; } catch (PDOException $e) { $error = 'Database error: ' . $e->getMessage(); } } else { $error = 'Failed to upload proof document.'; } } } ?> Submit Booking

Submit a New Booking

Fill out the form below to submit a new booking for approval.

Back to Dashboard