Pages

Adding PHP in HTML

In this little post,i will explain different methods of inserting PHP code in HTML, so the PHP interpreter can identify the PHP scripts embedded in HTML.

Most Popular Way
This is the most complete style of inserting PHP in HTML
Short tags
This is the shorter way of adding PHP in HTML
Adding as script in HTML
This is not a very frequently used style but anyway, it works too..
   
ASP style tags
This is another very easy way but its working may depend on your PHP configuration

 

0 comments:

Post a Comment