本书面向任何初学 PHP 编程的人。如果你以前使用过 Java、C# 或 Perl 等其他编程语言,你可能会很快掌握前面章节中的概念;但是,本书假定你以前没有编程或构建 Web 应用程序的经验。尽管如此,由于 PHP 主要是一种 Web 技术,如果你至少掌握了一些其他 Web 技术的知识,尤其是 HTML 和 CSS 的知识,会对你有所帮助。
许多网络应用程序都使用数据库来存储数据,本书有三章是关于如何使用 MySQL 数据库的。再次强调,如果你已经熟悉一般数据库,尤其是 MySQL,那么你就能快速掌握这些章节的内容。不过,即使你以前从未接触过数据库,通过阅读这些章节,你仍然可以掌握一些工作知识。
This book is intended for anyone starting out with PHP programming. If you've previously worked in another programming language such as Java, C#, or Perl, you'll probably pick up the concepts in the earlier chapters quickly; however, the book assumes no prior experience of programming or of building Web applications. That said, because PHP is primarily a Web technology, it will help if you have at least some knowledge of other Web technologies, particularly HTML and CSS.
Many Web applications make use of a database to store data, and this book contains three chapters on working with MySQL databases. Once again, if you're already familiar with databases in general - and MySQL in particular - you'll be able to fly through these chapters. However, even if you've never touched a database before in your life, you should still be able to pick up a working knowledge by reading through these chapters.
作者简介
Matt Doyle 的职业生涯经历了许多方面,包括系统管理、计算机培训、软件开发、平面设计和网站创建。
Matt Doyle has worn many hats in his professional career, including working in the fields of system administration, computer training, software development, graphic design, and website creation.
目录
Introduction xxvii
Part I: Getting Up and Running with PHP
Chapter 1: Introducing PHP 3
Chapter 2: Your First PHP Script 11
Part II: Learning the Language
Chapter 3: PHP Language Basics 33
Chapter 4: Decisions and Loops 51
Chapter 5: Strings 73
Chapter 6: Arrays 101
Chapter 7: Functions 141
Chapter 8: Objects 165
Part III: Using PHP in Practice
Chapter 9: Handling HTML Forms with PHP 221
Chapter 10: Preserving State With Query Strings, Cookies, and Sessions 267
Chapter 11: Working with Files and Directories 297
Chapter 12: Introducing Databases and SQL 337
Chapter 13: Retrieving Data from MySQL with PHP 367
Chapter 14: Manipulating MySQL Data with PHP 403
Chapter 15: Making Your Job Easier with PEAR 441
Chapter 16: PHP and the Outside World 471
Chapter 17: Generating Images with PHP 507
Chapter 18: String Matching with Regular Expressions 539
以下为对购买帮助不大的评价