+612 9045 4394
 
CHECKOUT
Essential PHP Fast : Building Dynamic Web Sites with MySQL - Simon Stobart

Essential PHP Fast

Building Dynamic Web Sites with MySQL

Paperback Published: 28th June 2002
ISBN: 9781852335786
Number Of Pages: 252

Share This Book:

Paperback

RRP $116.16
$110.50
or 4 easy payments of $27.63 with Learn more
Ships in 7 to 10 business days

Earn 221 Qantas Points
on this Book

How to create dynamic web environments using the PHP language and the MySQL database!
If you are familiar with the syntax for C, C++ and Java, then PHP will seem very familiar. Once you have got up to speed with this HTML embedded scripting language, you will soon be creating dynamic HTML database-enabled web pages quickly and easily.
This quick and practical introduction explains:
- how PHP works and what a dynamic web page is;
- the software development environment;
- the syntax and features of the language;
- how PHP can be integrated with MySQL databases;
- dynamic database applications.
Clearly written, this book provides you with all the essential information you need to create your own dynamic web environments using PHP.
Additional material is available from the Essential series web site: http: //www.essential-series.com

Introductionp. 1
Introductionp. 2
Why PHP and MySQL?p. 2
Is this Book for You?p. 3
How to Use this Bookp. 4
Creating a Typical PHP Development Environmentp. 7
Introductionp. 8
Web Browserp. 8
Web Serverp. 10
PHPp. 15
Text Editorp. 15
Databasep. 16
Summaryp. 16
Introducing PHPp. 17
Introductionp. 18
A Simple HTML Documentp. 18
First PHP Scriptp. 19
The History of PHPp. 22
Static and Dynamic Web Pagesp. 22
How Is PHP Different?p. 23
Formatting PHP Instructionsp. 25
Jumping In and Out of PHPp. 25
Echo and Print Statementsp. 26
Comment Statementsp. 27
Summaryp. 28
Variables: Integer and Floating-Point Data Typesp. 31
Introductionp. 32
What Is a Variable?p. 32
Assigning a Variable by Valuep. 33
Assigning a Variable by Referencep. 34
Different Types of Variablesp. 36
Integersp. 37
Floating-Point Numbersp. 39
Summaryp. 41
Variables: Stringsp. 43
Introductionp. 44
Single Quoted Stringsp. 44
Double Quoted Stringsp. 45
Variables in Stringsp. 46
Joining Stringsp. 47
Referencing Characters in a Stringp. 48
String Lengthp. 50
Converting Stringsp. 51
Summaryp. 53
Accessing Environment and PHP variablesp. 55
Introductionp. 56
Predefined Variablesp. 56
Environment Variablesp. 57
PHP Variablesp. 60
Summaryp. 61
Investigating Expressions, Operands and Operatorsp. 63
Introductionp. 64
Expressionsp. 65
Operatorsp. 66
Operandsp. 66
Arithmetic Operatorsp. 67
The Assignment Operatorp. 68
Bit Manipulation Operatorsp. 70
Comparison Operatorsp. 73
The Conditional Operatorp. 73
Increment and Decrement operatorsp. 74
Logical Operatorsp. 76
Operator Precedencep. 77
Summaryp. 79
Controlling the Flow of Controlp. 81
Introductionp. 82
Sequence, Selection and Iterationp. 82
The if Statementp. 84
The else Statementp. 85
The elseif Statementp. 87
The while Loopp. 88
The do while Loopp. 90
The for Loopp. 91
Nested Loopsp. 94
Breaking Out of Loopsp. 96
The continue Statementp. 97
The switch Statementp. 98
Summaryp. 101
Interacting with the Userp. 103
Introductionp. 104
PHP and Formsp. 104
Simple Form Processingp. 104
GET and POST Methodsp. 107
Combining PHP and Formsp. 107
Retaining Form Field Datap. 110
Interacting with a PHP Applicationp. 113
Summaryp. 115
Arraysp. 117
Introductionp. 118
Single-Dimensional Arraysp. 118
Multi-Dimensional Arraysp. 121
Arrays and the foreach Loopp. 125
Strings and Arraysp. 126
Combination Arraysp. 127
Manipulating Arrays at Run Timep. 129
Summaryp. 131
The MySQL Database Management Systemp. 133
Introductionp. 134
What Is MySQL?p. 134
Starting the Databasep. 135
Creating a Databasep. 136
Dropping a Databasep. 139
Hiding the WinMySQLadmin Applicationp. 140
Creating Database Tablesp. 140
Selecting a MySQL Databasep. 142
Creating Database Tables from a Dump Filep. 145
Dropping MySQL Databases and Tablesp. 147
Quitting MySQLp. 147
Summaryp. 147
Accessing MySQL Databases Using PHPp. 149
Introductionp. 150
A Simple PHP Script to Display Database Recordsp. 150
Accessing Multiple Records by Record Numberp. 153
Accessing Multiple Records by Column Namep. 154
Checking for the Existence of Recordsp. 156
Searching for Specific Recordsp. 157
Using HyperLinks to Select Recordsp. 159
Using a Form to Select Recordsp. 161
Using a Form to Search on Different Fieldsp. 163
Adding Recordsp. 166
Deleting Recordsp. 169
Updating Recordsp. 171
Summaryp. 173
Implementing Functionsp. 175
Introductionp. 176
Advantages of Functionsp. 176
A Simple Functionp. 177
More Power to Functions: Using Argumentsp. 180
Functions with Multiple Parametersp. 182
Functions and Local Variablesp. 184
Arguments Passed by Valuep. 185
Arguments Passed by Referencep. 186
Default Argument Valuesp. 188
Returning a Value from a Functionp. 189
Function Calls Within Functionsp. 192
Summaryp. 194
Cookiesp. 195
Introductionp. 196
Limitations of Cookiesp. 196
Setting a Cookiep. 196
Viewing a Cookiep. 198
Deleting a Cookiep. 199
Using Cookies to Personalize Pagesp. 199
Summaryp. 201
File Handlingp. 203
Introductionp. 204
Opening a Filep. 204
Closing a Filep. 205
Reading Characters from a Filep. 206
The End of File Functionp. 209
Reading Lines from a Filep. 209
Reading a Remote Filep. 211
Writing to a Filep. 213
Summaryp. 214
Classes and Objectsp. 215
Introductionp. 216
A Simple Classp. 217
Accessing an Object's Variablesp. 220
Multiple Objects of a Classp. 222
Constructorsp. 224
Arrays of Objectsp. 225
Objects in Objectsp. 226
Inheritancep. 230
Summaryp. 233
Further Information Resourcesp. 235
Introductionp. 236
The PHP Manualp. 236
The PHP Online Manual and FAQp. 237
The MySQL Manualp. 238
The MySQL Online Manual and FAQp. 239
Other Online Resourcesp. 240
And Finallyp. 241
Indexp. 243
Table of Contents provided by Publisher. All Rights Reserved.

ISBN: 9781852335786
ISBN-10: 1852335785
Series: Essential
Audience: General
Format: Paperback
Language: English
Number Of Pages: 252
Published: 28th June 2002
Publisher: Springer London Ltd
Country of Publication: GB
Dimensions (cm): 23.62 x 16.2  x 1.6
Weight (kg): 0.45

Earn 221 Qantas Points
on this Book