php

Course Title:

PHP Introduction

Duration:

2 days

Prerequisites:

Go to contentNo prior PHP knowledge is required, but some knowledge of HTML is required and it will be helpful to have some programming experience

home

Objectives:

This is a comprehensive and practical introduction to PHP

PHP applications are popular, easy to code and can run on any server or operating system. It can be integrated directly within your HTML code and allows information to be accessed from any data source

This two day intensive course will introduce you to the fundamentals of PHP and show you how to build complete applications that include the use of cookies and sessions, creating functions and arrays to use in PHP code, sending email using PHP and processing forms using PHP

 

about castalia

public courses

microsoft office courses

maximizer courses

courses general

services

training centres

links & news

privacy & terms

contact us

client comments


 

INTRODUCTION

PHP and how it works
Your first PHP page
Different functions: Print, Echo and Print F

VARIABLES AND IDENTIFIERS

Working with Identifiers
Variables, String, Number
The ‘here doc’ function
The Math operators
Using constants
Concatenation
Shorthand operators
Using Expressions
Using variables and variable scope

CONDITIONAL STATEMENTS

Control statements
Logic and relational operators
Using ‘If’, ‘Else if’ and ‘else’

BOOLIAN VALUES

The ‘?’ operators
Switch statements

LOOPS

Using the While loop
Break statements
Continue statements
Using ‘do...while’, ‘for’, ‘foreach’

FUNCTIONS

Creating your own functions
Calling a function
Using arguments
Return statements and static statements
Scope of variables
The ‘&’ operator
Optional arguments
Dynamic, built-in and data functions

INTRODUCTION TO MySQL

Using the PHP MyAdmin interface
Building a mini database

Questions and answers

ARRAYS

Array assignments
Calling values of an array
The ‘foreach' statement
Associative arrays
Array functions

FORM VALIDATION

Validating mandatory information
User friendly validation techniques
Using the setcookie function
Data functions
String functions

ADVANCED FORMS

Working with drop down menus
Working with checkboxes
Working with radio buttons
Comparison functions
Using Strcmp()
Using Strcasesmp()

HTTP

HTTP basics
Headers
Environment variables
How to use and send additional headers

COOKIES

How and when to use cookies
How to use alternatives in cases of user disallowing cookies on their browser

SESSION VARIABLES

The session-start variables
The power behind sessions

EMAIL FUNCTION

Creating auto-responder
Using email to accept simple on-line orders

Questions and answers

More Programming Courses and Prices


Castalia, 49 Bisterne Avenue, London, E17 3QR. Tel: 020 8926 1564. Fax: 020 8923 7952

Back to Top