How tosave and to run simple program in php writen on note pade

<!DOCTYPE html>

echo “My first PHP script!”;

</html> this is my program

which i saved with .html and tried to run but nothing displayed.y???

You need to save the file with a .php extension, not a .html extension.

I’m also guessing you’ll need to install a local Apache server, such as XAMPP ow WampServer. Just do a Google Search to find their websites.

Or you can manually install localhost on your own and get the feel to your own installed environment.

I like to do my own installation so I know what I’m dealing with.