(PHP,xampp) syntax error in every code I test -
i " parse error: syntax error, unexpected" error whatever print.
the error "parse error: syntax error, unexpected '"test"' (t_constant_encapsed_string) in c:\xampp\htdocs\firstfile\test.php on line 3"
the code tested
<?php echo 'test'; ?>
a basic code, error persist.
how solve problem?
could posted not actual file executed? file fine syntactically, there must stupid mistake somewhere. see faulty file inside folder firstfile. sure posted file file inside folder?
what outstanding here double quote chars in error message not present in file posted.
when error remains unchanged whatever do, typically edit wrong file.
Comments
Post a Comment