PHP | What is php?
PHP is a popular server site scripting langage stands for "PHP: Hypertext Preprocessor". It is an open source scripting language, hence it is free to download and use. We can create dynamic and interactive web application, website or web pages wtih the help of PHP. Most of popular website bilt on php, such as Facebook, Google, Yahoo etc.
- It is open source, hence it is free to download and use.
- Easy to learn.
- It support a wide range of database. (e.g: mysql, Oracal, odbc etc.)
- Compatatible with most of the server used todays. (e.g: Apache, IIS etc.)
- It's run on various platforms. (e.g: Windows, Linux, Max OS X etc.)
PHP code start with "<?php" php opening tag and end wtih "?>" php closing tag. PHP code must be inside php opening and closing tags.
<?php Your code here... ?>
<html> <body> <?php echo "Hello PHP"; ?> </body> </html>