Not sure what happened but my wamp server suddenly does not execute any php instead it comments all php out like this:
<!--?php
echo "hello world";
?-->
what the? (every file worked before so its not a coding issue)
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I got something similar when I try to insert php code on editors like TinyMCE, you might try to write the code in notepad and the upload your file via FTP, or if you want to write php code on a web-based application you could use ajaxplorer or extplorer.
To be 100% sure that is not a problem with the file you should dowload it via FTP an then open it with notepad.