Parse error: syntax error | HELP?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mikeinspain
    New Member
    • Jan 2007
    • 21

    #1

    Parse error: syntax error | HELP?

    Hi Guys

    I am getting the following error:

    Parse error: syntax error, unexpected '}' in /home/9144/domains/cbweb.co.uk/html/propertyEnquiry .php on line 5

    This is the referring PHP code...

    [PHP]<?php ('_class_functi ons/rental_sales_sh im.php');
    require_once('_ class_functions/enquiryList.php ');
    require_once('v ars.php');// make sure visitor has selected a property to enquire about if(!empty($_SES SION[$shim.'enq_list '])) {
    require_once('_ class_functions/mailFnc.php');
    }?>[/PHP]

    Have I missed a trick here or is it a little more complicated? Hope someone can help soon...

    Thanks

    Mike
  • Motoma
    Recognized Expert Specialist
    • Jan 2007
    • 3236

    #2
    Originally posted by mikeinspain
    Hi Guys

    I am getting the following error:

    Parse error: syntax error, unexpected '}' in /home/9144/domains/cbweb.co.uk/html/propertyEnquiry .php on line 5

    This is the referring PHP code...

    [PHP]<?php ('_class_functi ons/rental_sales_sh im.php');
    require_once('_ class_functions/enquiryList.php ');
    require_once('v ars.php');// make sure visitor has selected a property to enquire about if(!empty($_SES SION[$shim.'enq_list '])) {
    require_once('_ class_functions/mailFnc.php');
    }?>[/PHP]

    Have I missed a trick here or is it a little more complicated? Hope someone can help soon...

    Thanks

    Mike
    Yeah...remove the '}' from the last line, just before '?>'.

    Comment

    Working...