e-hol.co.uk Posted February 19, 2006 Posted February 19, 2006 Hi, I am having a parse error Parse error: parse error, unexpected T_STRING in /home/sites/e-hol.co.uk/public_html/e-shop/includes/languages/english.php on line 79 Line 79 is below: define('BOX_HEADING_WHATS_NEW', 'What's New?'); Please help rectify this issue Ian
Jack_mcs Posted February 19, 2006 Posted February 19, 2006 When you enter text with an apostrophe, proceed it with a backward slash. So What's should be What\'s. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
e-hol.co.uk Posted February 19, 2006 Author Posted February 19, 2006 When you enter text with an apostrophe, proceed it with a backward slash. So What's should be What\'s. Jack Thanks Jack, Its now saying: Parse error: parse error, unexpected T_STRING in /home/sites/e-hol.co.uk/public_html/e-shop/includes/languages/english.php on line 146 Please help, line 146 is below: define('JS_REVIEW_TEXT', '* The 'Review Text' must have at least ' . REVIEW_TEXT_MIN_LENGTH . ' characters.n'); Thanks, Ian
MartinM Posted February 19, 2006 Posted February 19, 2006 define('JS_REVIEW_TEXT', '* The 'Review Text' must have at least ' . REVIEW_TEXT_MIN_LENGTH . ' characters.n'); Replace with: define('JS_REVIEW_TEXT', '* The \'Review Text\' must have at least ' . REVIEW_TEXT_MIN_LENGTH . ' characters.n');
Laney Posted February 19, 2006 Posted February 19, 2006 I am getting a parse error that says: Parse error: parse error, unexpected T_STRING in /var/www/html/emporium/includes/filenames.php on line 60 and here's is line 60: define('FILENAME_PRODUCTS_NEW', 'products_new.php'); can you help? I can't see anything wrong with it. thanks, Elaine "There are only 10 types of people in this world: those who understand binary, and those who don't. "
Recommended Posts
Archived
This topic is now archived and is closed to further replies.