This tutorial is free and design for educational purpose only. If you have any enquiry contact us at firstname.lastname@example.org
The PHP Hypertext Preprocessor (PHP) is a programming language that allows web developers to create dynamic content that interacts with databases. PHP is basically used for developing web based software applications. This tutorial helps you to build your base with PHP.
This tutorial is designed for PHP programmers who are completely unaware of PHP concepts but they have basic understanding on computer programming.
PHP code example:
This code will display: "Hello, PHP!"<html> <head> <title>PHP Code Example</title> </head> <body> <?php echo "<h1>Hello, PHP!</h1>"; ?> </body> </html>
PHP started out as a small open source project that evolved as more and more people found out how useful it was. Rasmus Lerdorf unleashed the first version of PHP way back in 1994.
Five important characteristics make PHP's practical nature possible
To get a feel for PHP, first start with simple PHP scripts. Since "Hello, World!" is an essential example, first we will create a friendly little "Hello, World!" script.
As mentioned earlier, PHP is embedded in HTML. That means that in amongst your normal HTML (or XHTML if you're cutting-edge) you'll have PHP statements like this
<html> <head> <title>Hello World</title> </head> <body> <?php echo "Hello, World!";?> </body> </html>
It will produce following result: