PHP is a server scripting language used for making dynamic and interactive webpages. All the premium and successful sites run php.Even Mark Zuckerberg, founder & CEO of Facebook,Inc. when sat down to write code for facebook he choosed php to use on his site. Although it is a server-side scripting language so you have to install web server on your computer to use it. You can use XAMPP Server to use php. If you want more information about php you can visit their official site http://www.php.net.
Simple Code:
<!DOCTYPE html>
<html>
<body>
<h1>My first PHP page</h1>
<?php
echo "Hello World!";
?>
</body>
</html>
Result:
Simple Code:
<!DOCTYPE html>
<html>
<body>
<h1>My first PHP page</h1>
<?php
echo "Hello World!";
?>
</body>
</html>
Result:
No comments:
Post a Comment
What you think about this post..............;)