Archive for May 10th, 2009

PHP Variables

ariables are used for storing values, such as numbers, strings or function results, so that they can be used many times in a script.

Variables in PHP
Variables are used for storing a values, like text strings, numbers or arrays.
When a variable is set it can be used over and over again in your script
All [...]

Continue reading »

PHP Syntax

PHP code is executed on the server, and the plain HTML result is sent to the browser.

Basic PHP Syntax
A PHP scripting block always starts with <?php and ends with ?>. A PHP scripting block can be placed anywhere in the document.
On servers with shorthand support enabled you can start a scripting block [...]

Continue reading »

PHP Installation

What do You Need?
If your server supports PHP you don’t need to do anything. Just create some .php files in your web directory, and the server will parse them for you. Because it is free, most web hosts offer PHP support.
However, if your server does not support PHP, you must install PHP.
Here [...]

Continue reading »

Introduction to PHP

PHP is a server-side scripting language.

What You Should Already Know
Before you continue you should have a basic understanding of the following:

HTML
Some scripting knowledg

What is PHP?

PHP stands for PHP: Hypertext Preprocessor
PHP is a server-side scripting language, like ASP
PHP scripts are executed on the server
PHP supports many databases (MySQL, Informix, Oracle, Sybase, Solid, PostgreSQL, Generic [...]

Continue reading »