PHP is a powerful and full-featured programming language used by millions of Web developers around the world. PHP Essential Training is a comprehensive guide to learning and understanding an open-source solution to your Web programming needs. Whether you want to use a little PHP functionality or you want to create a full-blown Web site, this tutorial will start you on the road to mastering PHP. It covers the essential features, syntax, and flow of the language, and provides instruction in creating interactive and dynamic Web pages. Whether you are a designer new to programming or a developer coming from a different language, you will be learning PHP as it was intended to be used. You can easily follow along with real world examples and expert tips and tricks
Table of contents
1. Introduction
3. Scripting Basics
embedding PHP
short tags and style
basic language syntax
declaring and assigning variables
echo and print
basic types
integers
strings
booleans
set, unset, null, and empty
constants
operators
|
9:29
3:57
10:21
5:38
8:04
7:49
4:39
3:24
2:38
4:58
2:56
3:41
|
17.2 MB
6.9 MB
20.6 MB
10.5 MB
15.5 MB
14.9 MB
9.1 MB
6.5 MB
5 MB
10.2 MB
5.8 MB
7.1 MB
|
4. Flow Control and Looping
if-else conditions
the switch statement
for loops
while loops
break and continue
beware of infinite loops
|
11:17
5:51
9:06
7:09
5:21
4:21
|
20.3 MB
10.4 MB
16.6 MB
13.2 MB
10.2 MB
8.3 MB
|
5. Arrays
creating and using arrays
manipulating arrays
iteration loops
built-in PHP arrays
multidimensional arrays
flipping, reversing, and shuffling
|
11:55
10:00
4:38
3:30
11:26
7:23
|
22 MB
18.9 MB
8.9 MB
6.9 MB
22.3 MB
14.5 MB
|
6. Working with Strings
strings in PHP
printing and output
combining strings
string and character indexes
string functions
string lengths
comparing strings
find and replace
substrings
string case functions
cleaning up strings |
2:58
3:16
3:15
3:33
2:38
1:28
9:00
8:50
3:44
2:13
2:55 |
5.3 MB
6.4 MB
6 MB
6.8 MB
5 MB
2.8 MB
16.8 MB
17.4 MB
7.7 MB
4.3 MB
5.9 MB |
7. More About Strings
escaping strings
parsing strings
formatting strings
regular expressions, pt 1
regular expressions, pt 2 |
6:13
9:18
13:56
7:01
8:49 |
12.4 MB
17.2 MB
26.9 MB
12.2 MB
17.3 MB |
8. Working with Forms
working with web forms
processing get and post
server variables
checkboxes and radio buttons
selection lists
hidden fields
form field validations
magic_quotes_gpc
|
2:59
10:17
3:41
6:21
4:40
1:57
9:32
5:42
|
5.5 MB
19.1 MB
6.5 MB
11.9 MB
8.6 MB
3.7 MB
18.1 MB
11.1 MB
|
9. Functions
what are functions?
working with functions, pt 1
working with functions, pt 2
call-by value and reference
variable parameter lists
variable scope
global variables
include and require statements
|
3:14
5:55
7:34
4:57
4:58
5:06
7:20
6:04
|
6.3 MB
11.6 MB
14.7 MB
8.3 MB
9.6 MB
9.6 MB
13.3 MB
11.2 MB
|
10. Working with Databases
MySQL and our samples
connecting to data
retrieving data
data error handling
manipulating data, pt 1
manipulating data, pt 2
HTML grids
search forms
additional database software |
17:00
6:39
10:04
7:45
13:15
11:15
4:59
4:46
2:59 |
31.8 MB
10.1 MB
18.5 MB
14.3 MB
24.7 MB
21 MB
9.1 MB
8.7 MB
5.2 MB |
11. Web Site Interactivity
page redirection
email and PHP
an email form
user registration, pt 1
user registration, pt 2
user registration, pt 3
dynamic web pages |
5:36
3:24
10:39
12:00
11:33
9:02
6:34 |
9.7 MB
5 MB
20.1 MB
23.8 MB
21.1 MB
17.2 MB
12.7 MB |
12. Session State
controlling session variables
PHP sessions
session functions
a session example
a login system
working with cookies
|
4:22
5:33
2:35
3:56
12:14
7:27
|
7.9 MB
11 MB
4.6 MB
7.1 MB
23.3 MB
14.6 MB
|
13. Debugging Scripts
syntax errors
browser rendering issues
timeouts
numeric issues
|
6.4 MB
5.2 MB
4.8 MB
7.4 MB
|
14. Wrap-up
|