About PHP


 

About PHP

Hypertext Preprocessor alias in short PHP is a widely used powerful scripting language basically used for creating dynamic web pages.

Hypertext Preprocessor alias in short PHP is a widely used powerful scripting language basically used for creating dynamic web pages.

Hypertext Preprocessor alias in short PHP is a widely used powerful scripting language basically used for creating dynamic web pages. Coined by Rasmus Lerdorf in 1995 it is easily embedded with Hyper Text Mark Up Language (HTML) and several syntaxes of C, Java and Perl to extract data from databases and to present it on the Web page. It can be deployed on most of the web servers and support almost all operating system platform. PHP is an open source language under PHP license and can be downloaded at free of cost. The original name of PHP was Personal Home Page.

This tutorial of PHP would best suit to novice programmers who have prior knowledge of HTML. The prior knowledge of C, Java and Perl will benefit the learner up to great extent. In this tutorial, you will learn all the fundamental theory of PHP that will enable you to execute script on your server.

Here is the list of contents, which you will learn from Rose India’s PHP Tutorials:

Contents

1 Introduction
1.1 What is PHP?
1.2 What is a PHP File?

2 What you'll need

3 Steps
3.1 The Basics
3.1.1 Basic Syntax
3.1.2 Code Syntax
3.2 PHP First Program
3.3 Error Handling
3.4 Variables
3.4.1 Rules for Declaring Variables
3.4.2. The Concatenation Operator
3.4.3. The strlen() function
3.4.4. The strpos() function
3.5. PHP operators
3.5.1. Arithmetic Operators
3.5.2. Logical Operators
3.5.3. Comparison Operators
3.6 HTML Forms and PHP
3.6.1. The $_GET Function
3.6.2. The $_POST Function
3.6.3. The $_Request Function
3.7. Arrays
3.8 Associative Arrays
3.9 Operators; If, Else, Elseif; Loops
3.9.1 If....Else statement
3.9.2 if...Elseif...statement
3.10. Loops
3.10.1 While Loops
3.10.2. Do...While Loops
3.10.3. For Loops
3.10.4. Foreach Loop
3.11. Functions
3.11.2 PHP Functions - Return values

Ads