I will now talk about php .PHP is a popular most powerful and most useful server site language.It's a easy to use and you can learn it.I am now getting to know you about this language.Here is a sample code:
<?php
echo"Hello, world\n";
?>
Here echo command used for print this message. It can be also done by PRINT function.Now you can ask how does the PHP parser recognize PHP code inside your HTML document? The answer is that you tell the program when to spring into action by using special PHP tags at the beginning and end of each PHP section. This process is called escaping from HTML or escaping into PHP.There are four styles of PHP tags:
1.Canonical form tag([most universally effective PHP tag] )
2.short-open() tag
3.ASP-style tags(<% %>)
4. HTML script tags()
It's a code for beginner.Like other computer language i have used this type of example.It's easy.
To run this code you need php engine or local server like xampp , wampp or you can use like apache server etc.
<?php
echo"Hello, world\n";
?>
Here echo command used for print this message. It can be also done by PRINT function.Now you can ask how does the PHP parser recognize PHP code inside your HTML document? The answer is that you tell the program when to spring into action by using special PHP tags at the beginning and end of each PHP section. This process is called escaping from HTML or escaping into PHP.There are four styles of PHP tags:
1.Canonical form tag([most universally effective PHP tag] )
2.short-open() tag
3.ASP-style tags(<% %>)
4. HTML script tags()
It's a code for beginner.Like other computer language i have used this type of example.It's easy.
To run this code you need php engine or local server like xampp , wampp or you can use like apache server etc.