- Forums
- PHP
- Parse Error Unexpected T Constant Encapsed String
Parse Error Parse Error Unexpected T_constant_encapsed_string [2070], Last Updated: Mon Jun 24, 2024
Webune Support
Wed Dec 02, 2009
0 Comments
494 Visits
can you tell me how to fix this error i am getting on my php script. i checked my code
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /var/www/webs/mydomain/inc/functions.php on line 474
UPDATE: never mind, i figure it out.
this is how i had my code in line 474:
PHP CODE:
return 'cat='.$id'&pg='.$page_num ;
so i changed it to
PHP CODE:
return 'cat='.$id.'&pg='.$page_num ;
can you see the difference?