I made php file embeded in HTML and stored by .html extension but php is not outputing on browser.
<html><head></head><body> <?php echo "Hello World!" ?> </body></html>
Please go back to the PHP tutorial. I feel you are to add a link in the <head> tag
Though you write HTML inside, extension should be ".php"
Ok sir sorry. i m beginner in php
Yeah, I've seen the error. The extension Save it with .php
Sudarshan Rai can you give example?
I don't think that's possible Alian Jutt
You cannot write php inside html page, save the page with extension .php, then the code will work.
No sir they placed tag in body .
how to give its link in html. Just as we give css link <rel="stylesheet" href="index.css">