Gaiseric Posted May 23, 2011 Share Posted May 23, 2011 My Site gets this error when I tried to change a heading in textmaster. Parse error: syntax error, unexpected T_STRING in /home/onesoul/public_html/includes/languages/english/index.php on line 29 Here's the code from line 28 to 31 if ( ($category_depth == 'products') || (isset($HTTP_GET_VARS['manufacturers_id'])) ) { define('HEADING_TITLE', 'Let\\\\'s See What We Have Here'); define('HEADING_TITLE', 'categories_name\\\\']))); define(\\\\'TABLE_HEADING_IMAGE\\\\', \\\\''); Can Someone help me fix this please? Quote Link to comment https://forums.phpfreaks.com/topic/237175-parse-error-syntax-error/ Share on other sites More sharing options...
requinix Posted May 23, 2011 Share Posted May 23, 2011 Wtf is up with that code? I think you want define('HEADING_TITLE', 'Let\'s See What We Have Here'); define('HEADING_TITLE', 'categories_name'); define('TABLE_HEADING_IMAGE', ''); Quote Link to comment https://forums.phpfreaks.com/topic/237175-parse-error-syntax-error/#findComment-1218925 Share on other sites More sharing options...
Gaiseric Posted May 23, 2011 Author Share Posted May 23, 2011 Hey thanks....It seems Textmaster is putting in heaps of "/" for some reason.. Problem Fixed!! Quote Link to comment https://forums.phpfreaks.com/topic/237175-parse-error-syntax-error/#findComment-1218927 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.