Embed PHP into HTML -


I am trying to use PHP to print values ​​for my selected statements, but I work on it Can not get to I have tried to print something with php in my html, but I guess I can not do this. Can anyone tell me what's wrong with it

     

Make sure you do .php not .html.

myfile.php:

  & lt; Html & gt; & Lt; Top & gt; & Lt; / Head & gt; & Lt; Body & gt; & Lt; Ul & gt; & Lt ;? Php echo "Student register:"; ? & Gt; & Lt; / Ul & gt; & Lt; / Body & gt; & Lt; / Html & gt;   

You will also need to run this file on that server which is php installed. It will not run directly in the browser like .html file

Comments

Popular posts from this blog

How can I add a seperate action listener to all 14 of my buttons at once that can determine player turn?(java) -

php - Sorting an multidimension array using usort fails -

Simple file compression in C -