adrianol Posted November 13, 2020 Posted November 13, 2020 Hi I can't run php in a html file on johhny. What do I need to do?
maicol07 Posted November 13, 2020 Posted November 13, 2020 @adrianol you can't execute PHP code in an HTML file.You need to change the file extension from .html to .phpThen you can write HTML code with PHP code
wolstech Posted November 13, 2020 Posted November 13, 2020 It is possible to add a handler to make HTML files process as PHP, but the typical recommendation is to do what maicol07 said and change the extension to .php
Recommended Posts