没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
PHP & MySQL
Brett McLaughlin
Beijing | Cambridge | Farnham | Köln | Sebastopol | Tokyo
The book that should have been in the box®
PHP and MySQL: The Missing Manual
by Brett McLaughlin
Copyright © 2012 Brett McLaughlin. All rights reserved.
Printed in the United States of America.
Published by O’Reilly Media, Inc.,
1005 Gravenstein Highway North, Sebastopol, CA 95472.
O’Reilly books may be purchased for educational, business, or sales promotional use.
Online editions are also available for most titles (
http://my.safaribooksonline.com
).
For more information, contact our corporate/institutional sales department: (800)
998-9938 or
corporate@oreilly.com
.
Printing History:
November 2011: First Edition.
Revision History:
2011-11-09 First release
See
http://oreilly.com/catalog/errata.csp?isbn=9780596515867
for release details.
The Missing Manual is a registered trademark of O’Reilly Media, Inc. The Missing
Manual logo, and “The book that should have been in the box” are trademarks of
O’Reilly Media, Inc. Many of the designations used by manufacturers and sellers to
distinguish their products are claimed as trademarks. Where those designations
appear in this book, and O’Reilly Media is aware of a trademark claim, the
designations are capitalized.
While every precaution has been taken in the preparation of this book, the publisher
assumes no responsibility for errors or omissions, or for damages resulting from the
use of the information contained in it.
ISBN-13: 978-0-596-51586-7
III
Contents
The Missing Credits ....................................... vii
Introduction
............................................... xi
Part One: PHP and MySQL Basics
CHAPTER 1:
PHP: What, Why, and Where? .............................. 3
Gathering Your Tools ................................................3
Writing Your First Program. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Running Your First Program .........................................16
Writing Your Second Program .......................................17
Upload Your HTML, CSS, and PHP ...................................20
Running Your Second Program ......................................21
CHAPTER 2:
PHP Syntax: Weird and Wonderful ........................ 25
Get Information from a Web Form ...................................25
Working with Text in PHP ...........................................32
The
$_REQUEST
Variable ...........................................46
What Do You Do with User Information? ..............................53
CHAPTER 3:
MySQL and SQL: Database and Language................. 55
What Is a Database?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
Installing MySQL ...................................................59
SQL Is a Language for Talking to Databases ...........................76
Part Two: Dynamic Web Pages
CHAPTER 4:
Connecting PHP to MySQL ................................ 91
Writing a Simple PHP Connection Script ..............................91
Cleaning Up Your Code with Multiple Files ...........................103
Building a Basic SQL Query Runner .................................109
CHAPTER 5:
Better Searching with Regular Expressions .............. 127
String Matching, Double-Time ......................................128
剩余497页未读,继续阅读
资源评论
yinkaisheng-nj
- 粉丝: 762
- 资源: 6231
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- java资源Web集成开发环境Cloud9IDE
- scikit_learn-1.5.1-cp311-cp311-macosx_12_0_arm64.whl
- scikit_learn-1.5.1-cp311-cp311-win_amd64.whl
- java资源WebDAV网关Davenport
- scikit_learn-1.5.1-cp312-cp312-macosx_10_9_x86_64.whl
- lib-docs-template 是一个用于创建库文档的模板项目
- scikit_learn-1.5.1-cp312-cp312-macosx_12_0_arm64.whl
- java资源WAP浏览器j2wapjava资源WAP浏览器j2wap
- 通用UART收发模块的Verilog代码
- Labview之简易计算器
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功