Professional Documents
Culture Documents
PREFACE
Nowadays, static Web sites with simple HTML pages no longer meet the needs of users.
Dynamic Web sites combined with databases have become the Web development trend.
This book will introduce you to two of the most popular technologies used to create dynamic
Web sites: the PHP scripting language and the MySQL database management program.
Through guided practise steps, clear scripting codes with many expert hints, the book will
help you get a general understanding of technology before addressing specific issues such
as security, session and cookies, using Web tools. At the end of the book, we will apply the
techniques introduced to build some complete sample applications. For the convenience of
the practice part, you can copy the reference code used for the book from the address:
http://minhkhai.com.vn/dounload.html.
MK.PUB
Note: In this book, in the code section, the symbol (-> ) indicates that this command line is
followed by the above command line.
TABLE OF CONTENTS
PREFACE ......................................................................................................................... 3
Write notes.......................................................................................................................28
Switch ..............................................................................................................................65
Table definition...............................................................................................................183
Standardized ..................................................................................................................195
Lock up ..........................................................................................................................196
Relation..........................................................................................................................198
Indexing .........................................................................................................................228
Safe ...............................................................................................................................263
Check cookies................................................................................................................288
Encode ..........................................................................................................................342
Register .........................................................................................................................482
Moulds ...........................................................................................................................519
Additional items..............................................................................................................569
phpMyAdmin .......................................................................................................................
Content Management..........................................................................................................
Ecommerce.........................................................................................................................
PHP ....................................................................................................................................
MySQL ................................................................................................................................
Functions ............................................................................................................................
PHP ...................................................................................................................................
Websites .............................................................................................................................
MySQL ................................................................................................................................
Safe ....................................................................................................................................
Generality ...........................................................................................................................
HTML ..................................................................................................................................
JavaScript ...........................................................................................................................
Ecommerce.........................................................................................................................