PHP was first created by Rasmus Lerdorf in 1995, and saw its first official release in 1997. Milestone releases included PHP 3 in 1998, PHP 4 in 2000, and PHP 5 in 2004. Today, many large-scale websites run on PHP. The author was first introduced to PHP in 2000, and have found the language to be pretty easy to work with.
Below is a simple "Hello World" program, PHP flavor:
print "Hello World.";
Executing this program on a web server enabled with PHP produces the following output:
PHP programs usually have an extension of .php.
By the end of this tutorial, you should have a good understanding of the basic constructs of PHP, as well as how PHP can interact with MySQL to produce dynamic web pages. Please bookmark this site now by pressing Control-D and start to learn PHP now.
Next: PHP Variables