Date: 01/20/06 (PHP Community) Keywords: php I'm having some trouble with a PHP script. I've done scripts like this before but I've been staring at this script so long and I can't figure out what's wrong. All I'm doing is adding text to an existing string but I'm getting the following error: msg += "General Sessions:\n"; msg += "Friday:\n"; msg += "The Interface of Dental Public Health & General Dentistry (DDS, DH, DA) - ".$F1." participants\n"; msg += "Oral Surgery - Practical Applications and Troubleshooting (DDS only) - ".$F2." participants\n"; msg += "Local Anesthesia and Analgesic Pharmacology (DDS only) - ".$F3." participants\n"; msg += "Interceptive Orthodontics for General Practitioners (DDS only) - ".$F4." participants\n"; msg += "Endodontic Diagnosis and Therapy Update (DDS only) - ".$F5." participants\n"; msg += "Canadian Academy of Cosmetic Dentistry (DDS only) – Full Day - ".$F61." participants\n"; msg += "Table Clinics – Students & Guests – Morning (DDS, DH, DA) - ".$F7." participants\n"; msg += "Dental Public Health Workshop and Panel Discussion (DDS, DH, DA) - ".$F8." participants\n"; msg += "Oral Pathology Interactive Seminar (DDS and DH only) - ".$F9." participants\n"; msg += "Saturday:\n"; msg += "Contemporary Dental Treatment for Children (DDS, DH, DA) - ".$S1." participants\n"; msg += "Team Treatment Planning – Dare to Care (DDS, DH, DA) - ".$S2." participants\n"; msg += "Medical Emergencies in the Dental Office (DDS, DH, DA) - ".$S3." participants\n"; msg += "The Great White Hype: Anterior and Posterior Composite Restorations (DDS only) - ".$S4." participants\n"; msg += "Making Removable Prostheses Work (DDS only) - ".$S5." participants\n"; msg += "Dental Practice Appraisal and Brokerage (DDS only) - ".$S6." participants\n"; msg += "Canadian Academy of Public Health Dentistry - Annual Meeting - ".$S7." participants\n"; msg += "Registration fees: $".$registrationfee."\n"; msg += "Course fees: $".$coursefees."\n"; msg += "Social fees: $".$socialfees."\n"; msg += "Total Payment: $".$totalpayment."\n"; msg += "Form of payment: ".$payment."\n"; msg += "Credit card number: ".$cc_number."\n"; msg += "Expiry date: ".$cc_month."/".$cc_expiry."\n"; msg += "Name on credit card: ".$cc_name;
|