If I create a simple .html file with a table inside it. Within one of the columns of a table, if I insert PHP opening and closing tags, and even just type echo, it is not working. Do I need to change the extension of the file to .php?
Share
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.
Changing the file to .php would be the quickest solution.
An alternate solution would be to use Apache’s addType to allow apache to serve PHP pages with a different extension.