Free download web templates, books and more. Free php projects ,games and apps. GTA mods and more

Breaking

What is php ? || php tutorial

PHP Tutorial


PHP tutorial for beginners and professionals provides in-depth knowledge ofPHP scripting language. Our PHP tutorial will help you to learn PHP scripting language easily.
This PHP tutorial covers all the topics of PHP such as introduction, control statements, functions, array, string, file handling, form handling, regular expression, date and time, object-oriented programming in PHP, math, PHP MySQL, PHP with Ajax, PHP with jQuery and PHP with XML.

What is PHP

  • PHP stands for Hypertext Preprocessor.
  • PHP is an interpreted language, i.e., there is no need for compilation.
  • PHP is a server-side scripting language.
  • PHP is faster than other scripting languages, for example, ASP and JSP.

PHP Example

In this tutorial, you will get a lot of PHP examples to understand the topic well. You must save the PHP file with a .php extension. Let's see a simple PHP example.
File: hello.php
  1. <!DOCTYPE>  
  2. <html>  
  3. <body>  
  4. <?php  
  5. echo "<h2>Hello by PHP</h2>";  
  6. ?>  
  7. </body>  
  8. </html>  
Output:

Hello by PHP