Start a new topic

How can I merge php code in html?

I am new web designer and I want to create a new website using W3layouts. I choose vloader-pack to edit. But I want to to take Php code to display my video thumbnail and use the template dynamically. How can I do that? Please give me the answer.


2 people have this question
1 Comment

You can change the file ending from  

index.html

 to  

index.php

 After doing so, you can leave the html code as is or put everything in a echo tag.  

<?php 
 echo "
   The HTML goes HERE
 ";
?>

 Remember that inside the echo tag, you will only be able to use  

' '

 You will not be able to have  

" "

 because using ( " ) will close the echo tag.

 I hope I was some help today!


1 person likes this
Login or Signup to post a comment