Introduction |
|
9 | (4) |
|
|
9 | (2) |
|
Praise for "The Joy of PHP" |
|
|
11 | (2) |
What is PHP? |
|
13 | (4) |
|
|
14 | (1) |
|
|
15 | (1) |
|
|
16 | (1) |
Installing and Configuring PHP |
|
17 | (6) |
|
|
17 | (1) |
|
|
17 | (1) |
|
|
18 | (1) |
|
|
19 | (1) |
|
How Do I Know it is Working? |
|
|
19 | (2) |
|
|
21 | (1) |
|
Installing for a Web Site |
|
|
21 | (1) |
|
|
22 | (1) |
Introduction to HTML |
|
23 | (12) |
|
|
23 | (1) |
|
|
23 | (1) |
|
|
24 | (1) |
|
|
24 | (1) |
|
|
25 | (1) |
|
|
25 | (1) |
|
|
25 | (1) |
|
|
26 | (1) |
|
|
26 | (1) |
|
|
26 | (1) |
|
|
26 | (2) |
|
|
26 | (1) |
|
|
27 | (1) |
|
|
27 | (1) |
|
|
27 | (1) |
|
|
28 | (1) |
|
|
28 | (1) |
|
|
28 | (2) |
|
|
29 | (1) |
|
|
29 | (1) |
|
|
30 | (5) |
|
|
31 | (1) |
|
HTML Form Actions & Methods |
|
|
32 | (3) |
Basic PHP Syntax |
|
35 | (2) |
|
Introduction - Basic PHP Syntax |
|
|
35 | (1) |
|
Your first PHP-enabled page — Hello World |
|
|
35 | (2) |
Some Fun Right Away |
|
37 | (4) |
|
|
37 | (2) |
|
|
39 | (2) |
Editors and Staying Organized |
|
41 | (6) |
|
|
41 | (2) |
|
|
41 | (1) |
|
|
42 | (1) |
|
|
43 | (1) |
|
|
43 | (1) |
|
|
43 | (4) |
|
|
44 | (1) |
|
|
44 | (1) |
|
|
45 | (1) |
|
|
45 | (2) |
Variables, Numbers, Dates, and Strings |
|
47 | (12) |
|
|
47 | (1) |
|
Variable Naming Conventions and Best Practices |
|
|
48 | (1) |
|
|
49 | (1) |
|
|
49 | (1) |
|
Common Arithmetic Shortcuts |
|
|
50 | (1) |
|
|
50 | (1) |
|
|
50 | (1) |
|
|
51 | (1) |
|
|
51 | (3) |
|
|
51 | (1) |
|
How to Interpret PHP.NET documentation |
|
|
51 | (2) |
|
|
53 | (1) |
|
|
53 | (1) |
|
|
53 | (1) |
|
|
54 | (3) |
|
Example: Calculating Age in Years |
|
|
56 | (1) |
|
|
57 | (2) |
Control Structures |
|
59 | (6) |
|
|
59 | (1) |
|
|
59 | (1) |
|
|
60 | (1) |
|
|
60 | (1) |
|
|
61 | (1) |
|
|
61 | (4) |
|
|
61 | (1) |
|
|
62 | (3) |
How to use a database, such as mySQL |
|
65 | (20) |
|
|
65 | (1) |
|
|
65 | (2) |
|
Getting Started with phpMyAdmin |
|
|
67 | (4) |
|
|
68 | (1) |
|
Using phpMyAdmin to create a database |
|
|
68 | (1) |
|
|
69 | (1) |
|
Using phpMyAdmin to create a Table in a database |
|
|
69 | (2) |
|
|
71 | (1) |
|
What defines an automobile? |
|
|
71 | (1) |
|
|
72 | (4) |
|
|
72 | (1) |
|
|
72 | (1) |
|
|
72 | (3) |
|
|
75 | (1) |
|
Working with SQL Statements |
|
|
76 | (9) |
|
|
76 | (1) |
|
|
77 | (2) |
|
|
79 | (2) |
|
|
81 | (1) |
|
|
81 | (1) |
|
|
82 | (1) |
|
|
83 | (2) |
Using mySQL and PHP Together |
|
85 | (8) |
|
|
85 | (1) |
|
|
85 | (4) |
|
Code Listing: createdb.php |
|
|
86 | (3) |
|
Code Explained: createdb.php |
|
|
89 | (4) |
|
|
92 | (1) |
Creating forms to Display, Add, Edit, and Delete data |
|
93 | (22) |
|
|
93 | (1) |
|
Forms that Add Data to a Database |
|
|
93 | (6) |
|
|
93 | (1) |
|
|
93 | (1) |
|
|
94 | (1) |
|
|
94 | (5) |
|
A Brief Time Out...include files |
|
|
99 | (2) |
|
Forms that Display Summary Data |
|
|
101 | (1) |
|
|
101 | (8) |
|
|
102 | (3) |
|
Exercise: Tweaking the SELECT |
|
|
105 | (1) |
|
Improving the look of the table with CSS |
|
|
105 | (1) |
|
|
106 | (1) |
|
Modifying the form to link to the detail page |
|
|
107 | (2) |
|
Forms that Display Detail Data |
|
|
109 | (3) |
|
|
109 | (2) |
|
|
111 | (1) |
|
|
112 | (1) |
|
|
112 | (1) |
|
|
113 | (1) |
|
|
113 | (1) |
|
|
114 | (1) |
Session Variables |
|
115 | (4) |
|
|
115 | (1) |
|
|
116 | (1) |
|
|
117 | (1) |
|
|
117 | (2) |
|
|
117 | (1) |
|
|
117 | (1) |
|
|
117 | (1) |
|
|
118 | (1) |
Working with Images |
|
119 | (4) |
|
|
119 | (2) |
|
|
121 | (1) |
|
Pulling an unknown number of images from a database |
|
|
121 | (1) |
|
Exercise: Create a Database Table to store images |
|
|
121 | (1) |
|
Exercise: Modify the viewcar.php page to show multiple images |
|
|
122 | (1) |
|
|
122 | (1) |
PHP File Uploads |
|
123 | (8) |
|
|
123 | (1) |
|
Create an Upload File form |
|
|
123 | (1) |
|
Create a Script to Process the Uploaded File |
|
|
124 | (1) |
|
Code: ViewCarsAddlmage.php |
|
|
125 | (1) |
|
|
126 | (5) |
PHP Quirks and Tips |
|
131 | (4) |
|
|
131 | (1) |
|
Single Quotes vs Double Quotes |
|
|
131 | (1) |
|
|
132 | (2) |
|
|
134 | (1) |
Security Considerations |
|
135 | (4) |
|
|
135 | (1) |
|
Balancing Security and Usability |
|
|
135 | (1) |
|
|
136 | (2) |
|
|
138 | (1) |
Appendix A: Installing PHP on a Website |
|
139 | (2) |
|
How to install on a Windows Server |
|
|
139 | (1) |
|
How to install on a Linux Server |
|
|
139 | (2) |
Appendix B: Deep Dive into Sessions |
|
141 | |
|
|
141 | |