Saturday 21 July 2012

PHP Language Structure

DATA TYPES

Data types in PHP are generally divided into two categories namely scalar and composite. A scalar variable contains only one value at a time and PHP supports four scalar types:
  1. boolean – can either be true or false.
  2. int – signed (can be positive or negative) numeric integer value.
  3. float – signed floating point value.
  4. string – collection of characters.
Compound data types are essentially containers of other data and PHP supports two types:

Wednesday 18 July 2012

MySQL - Introduction

What is SQL
SQL stands for Structured Query Language and is used in manipulating data stored in a Relational Database Management System (RDBMS). SQL provides commands in which data can be extracted, sorted, updated, deleted and inserted. SQL can be used with many different RDBMS’s including MySQL, PostgressSQL, Oracle, Microsoft SQL Server, Access, etc.


MySQL
Officialy known as My-S-Q-L but is also referred to as My Sequel is the world’s most widely used open source RDBMS and runs as a server providing multi-user access to a number of databases. MySQL is a popular choice of database for use in web applications and is used in some of the most popular websites on the internet including