html - PHP Not displaying -


so developing webpage , starting dig php. went ws3 schools , looked @ example. copied on html document. when double clicked on , opened in chrome php not show up.

here example code:

    <!doctype html>     <html> <body>      <?php     echo "my first php script!";     ?>  </body> 

you need functioning web server can run php in order able parse php files.

just writing php , opening resulting html file in browser won't do.

have @ quick local environment such xamp or wamp.


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -