carl6885 Posted April 14, 2007 Posted April 14, 2007 Hi I am trying to change the main page text and know I need to go to /includes/language/english/index.php. Anything I seem to change comes up with an error. I am changing thing correctly but no matter what I change I get this: Parse error: parse error, unexpected T_STRING in C:\Inetpub\vhosts\click-pt.com\httpdocs\subscription_center\includes\languages\english\index.php on line 13 This happens even if I add extra text to whats already there, even between words that are there. Can anyone help? Thanks in advance. Carl
spax Posted April 15, 2007 Posted April 15, 2007 If any of the words you are using have an apostrophe in them, they will cause the error unless you use the backslash escape character first. Shouldn\'t Wouldn\'t It\'s Carl\'s website\'s first problem! Get it?
carl6885 Posted April 15, 2007 Author Posted April 15, 2007 If any of the words you are using have an apostrophe in them, they will cause the error unless you use the backslash escape character first. Shouldn\'t Wouldn\'t It\'s Carl\'s website\'s first problem! Get it? Thanks I will remember that, but even if I just change one word, such as 'have' with 'above' for example it creates the error. Any ideas? Cheers
spax Posted April 15, 2007 Posted April 15, 2007 You must keep your text within the 2 single quotes and the constant has to end with a close parenthesis and semi-colon define('TEXT_MAIN', 'Your text between the 2 single quotes.');
Recommended Posts
Archived
This topic is now archived and is closed to further replies.