By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,642 Members | 1,672 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,642 IT Pros & Developers. It's quick & easy.

Parse error: syntax error | HELP?

mikeinspain
P: 21
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_functions/rental_sales_shim.php');
require_once('_class_functions/enquiryList.php');
require_once('vars.php');// make sure visitor has selected a property to enquire about if(!empty($_SESSION[$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
Jan 25 '07 #1
Share this Question
Share on Google+
1 Reply


Motoma
Expert 2.5K+
P: 3,235
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_functions/rental_sales_shim.php');
require_once('_class_functions/enquiryList.php');
require_once('vars.php');// make sure visitor has selected a property to enquire about if(!empty($_SESSION[$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 '?>'.
Jan 26 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.