Im using wamp server 2 in my pc which running on window 7, I have developed some php files and used php short tags inside it, but whenever I run php file one error appear on screen and stop script. Please suggest me what to do.?
It should be enough to enable short_open_tags in your php.ini file - I personally don't recommend using shorttags though, as they can mess up when moving code or changing the environment (as in your case).
If you're unsure, open your PHP.ini file, add the line:
short_open_tags = 1
Restart your apache and you should be ready to go.
hope that helps
Thanks behati now all files running successfully. Next time i try to use full tag instead of using short tags because they are really messed up.
This topic is now closed. New replies are no longer allowed.