Answer the question
In order to leave comments, you need to log in
php not working in html
OpenServer
If you write a script to a .php file, everything works (html works there too)
If you write a script to a .html file, the html code works, but the script does not. It just doesn't output anything, the <?php ?> icons themselves aren't displayed either, so PHP is working but there's no output?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question