prepare($sql); $consent = isset($_POST['consent_for_info_sharing']) ? 1 : 0; $stmt->bindParam(':full_legal_name', $_POST['full_legal_name']); $stmt->bindParam(':ndis_client_number', $_POST['ndis_client_number']); $stmt->bindParam(':date_of_birth', $_POST['date_of_birth']); $stmt->bindParam(':preferred_contact_method', $_POST['preferred_contact_method']); $stmt->bindParam(':primary_phone', $_POST['primary_phone']); $stmt->bindParam(':email', $_POST['email']); $stmt->bindParam(':address', $_POST['address']); $stmt->bindParam(':emergency_contact_name', $_POST['emergency_contact_name']); $stmt->bindParam(':emergency_contact_phone', $_POST['emergency_contact_phone']); $stmt->bindParam(':ndis_plan_start_date', $_POST['ndis_plan_start_date']); $stmt->bindParam(':ndis_plan_end_date', $_POST['ndis_plan_end_date']); $stmt->bindParam(':plan_manager_name', $_POST['plan_manager_name']); $stmt->bindParam(':plan_manager_contact', $_POST['plan_manager_contact']); $stmt->bindParam(':ndis_funding_budget_total', $_POST['ndis_funding_budget_total']); $stmt->bindParam(':primary_disability', $_POST['primary_disability']); $stmt->bindParam(':support_needs_summary', $_POST['support_needs_summary']); $stmt->bindParam(':communication_aids_methods', $_POST['communication_aids_methods']); $stmt->bindParam(':behaviours_of_concern', $_POST['behaviours_of_concern']); $stmt->bindParam(':risk_assessment_summary', $_POST['risk_assessment_summary']); $stmt->bindParam(':safety_plan', $_POST['safety_plan']); $stmt->bindParam(':consent_for_info_sharing', $consent, PDO::PARAM_INT); $stmt->bindParam(':intake_notes', $_POST['intake_notes']); $stmt->execute(); $message = "Client successfully added!"; } catch (Exception $e) { $error = "Error: " . $e->getMessage(); } } ?>

Add New Client

AI-Assisted Intake

Client Details

Contact Info

Plan Details

Disability & Needs

Risk & Safety

Consent

Cancel