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

c# - passing input text from view to contoller with FacebookContext using Facebook app -

ios - Does Core Data autoupdate a many to many relationship on saving -

Calling a C++ function from C# by passing a string with variable size to it -