Parse error

    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:

    Parse error: parse error in /var/www/htdocs/secure.datastore.com/McCarthysParty/cda_registration_confirm.php on line 250

    No other explanation. If I comment out the section of code behind the cut the form seems to work fine but I'm not seeing any obvious errors. I'm sure it's something small and obvious. Can anyone figure out what's wrong with this? The code starts at line 250.

    	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;

    Source: http://community.livejournal.com/php/399562.html

« PHP shell access question || PHP + MySQL 4.1 »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home