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 -

CSS3 Transition to highlight new elements created in JQuery -