PHP is a server side scripting language, and a powerful tool for making dynamic Web Sites. PHP started as a small open source project and letter people found it very usefull now its used in many large website like as favebook.com or youtube.com
* PHP is a stands for PHP: Hypertext Preprocessor.
* PHP is a server side scripting language that is embedded in HTML.
* It van be integrated with a number of popular databases like MySQL(mysql is included with wamp or xampp etc), or Microsoft SQL Server.
* PHP supports a large number of protocols such as POP3, IMAP, and LDAP. PHP5 is supporting the object oriented programming.
* PHP Syntax is Like as C language.
* PHP is a stands for PHP: Hypertext Preprocessor.
* PHP is a server side scripting language that is embedded in HTML.
* It van be integrated with a number of popular databases like MySQL(mysql is included with wamp or xampp etc), or Microsoft SQL Server.
* PHP supports a large number of protocols such as POP3, IMAP, and LDAP. PHP5 is supporting the object oriented programming.
* PHP Syntax is Like as C language.
Print Hellow world in PHP
to print a string in php its uses echo , and using echo we are going to display Hello, World! and the code is given below<html>
<head>
<title>Hello World</title>
</head>
<body>
<?php echo "Hello, World!"; ?>
</body>
</html>
The most popular PHP script writting styles
There is several style to write a php code like as start with <?php and end with ?> , also can be start with <? and end with ?> and there is another style to write a php code which is start with <script language = "php"> and end with </script> The sample is given below. in case of writting a php code user must use the page extension as .php<?php PHP code goes here ?>
Or
<? PHP code goes here ?>
Or
<script language = "php"> PHP code goes here </script>
No comments:
Post a Comment