Monday, December 29, 2008

Website Development Using PHP


PHP 4 was officially released on May 22, 2002, and today its installed base has surpassed 15 million domains. In the late 1998, Zeev and Andi looked back at their work in PHP 3 and felt they could have written the scripting language even better and they started yet another rewrite. While PHP 3 still continuously parsed the scripts while executing them, PHP 4 came with a new paradigm of compile first, execute later. The compilation step does not compile PHP scripts into machine code; it instead compiles them into byte code, which is then executed by the Zend Engine (Zend stands for Zeev & Andi), the new heart of PHP 4. Because of this new way of executing scripts, the performance of PHP 4 was much better than that of PHP 3, with only a small amount of backward compatibility breakage 4. Among other improvements was an improved extension API for better run-time performance, a web server abstraction layer allowing PHP 4 to run on most popular web servers, and lots more.
Introduction
PHP is a language that was designed to be easily embedded i...
Variables
Variables in PHP are denoted by the "$". To assig...
Strings
String variables are used to store and manipulate a piece o...
Operators
Operators are used to manipulate or perform operations o...
If…Else Statement
One of the most common PHP language constructs that you wil...
Loops
Loops are used to repeat statement or block of statement...
Functions
In addition to PHP's built-in functions, you can create you...
Forms
Forms are the most fundamental method of interaction for yo...
Sessions
You cannot track variables across a user session unless you...
Cookies
A cookie is a small bit of information stored on a viewe...
Files
PHP is a very useful language for working with files. Altho...
E-mail
mail() function is used to send emails from inside a script...
Error Handling
Error handling is the process of changing the control fl...
File Upload
You must first build an HTML form that lets users select a ...
PHP Databases
A database is a collection of data that is stored indepe...
Connecting to a MySQL Database
In order to pull information from a MySQL database to...
MySQL Data Types
Numeric Data Types:...
Inserting Data Into a Table
The INSERT INTO SQL statement impregnates our table with da...
Select Statement
The select query is used to retrieve records from a databas...
Where Clause
In Select Query we use WHERE clause to select only data tha...
Order By
We use Order By Keyword to sort the records in a recordset....
Update Statement
Update statement is used to modify the data in a database t...
Delete From Statement
DELETE FROM statement is used to delete rows from a data...

No comments: