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 |