What's PHP ?

What's PHP ?

What's PHP ?

View Answers

December 27, 2010 at 12:20 PM

Hi friends,

PHP stands for Hypertext Preprocesser. It is a server side programing language that allows web developers to create dynamic content that interacts with databases. PHP is basically used for developing web based software applications.

Basic syntax:

A PHP code block starts with "<?php"` and ends with `"?>". A PHP code can be placed anywhere in the HTML document.

Example:

<html>
<head>
<title>First PHP Example </title>
</head>
<body>
<?php
$text="Hello php";
echo  $text;
?>
</body>
</html>









Related Tutorials/Questions & Answers:

Ads