没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
What Are Dynamic Web Sites? Dynamic web sites are flexible and potent creatures, more accurately described as applications than merely sites. Dynamic web sites : - Respond to different parameters (for example, the time of day or the version of the visitor's browser) - Have a “memory,” allowing for user registration and login, e-commerce, and similar processes - Almost always integrate HTML forms, allowing visitors to perform searches, provide feedback, and so forth - Often have interfaces where administrators can manage the content - Are easier to maintain, upgrade, and build upon than statically made sites
资源推荐
资源详情
资源评论
PHP and MySQL for Dynamic Web Sites
Fifth Edition
Larry Ullman
Visual QuickPro Guide
PHP and MySQL for Dynamic Web Sites, Fifth Edition
Larry Ullman
Peachpit Press
www.peachpit.com
Copyright © 2018 by Larry Ullman
To report errors, please send a note to: errata@peachpit.com
Peachpit Press is a division of Pearson Education.
Editor: Mark Taber
Copy Editor: Elizabeth Welch
Technical Reviewer: Timothy Boronczyk
Production Coordinator: David Van Ness
Compositor: Danielle Foster
Proofreader: Scout Festa
Indexer: Valerie Haynes Perry
Cover Design: RHDG / Riezebos Holzbaur Design Group, Peachpit Press
Interior Design: Peachpit Press
Logo Design: MINE™ www.minesf.com
Notice of Rights
This publication is protected by copyright, and permission should be obtained from the publisher
prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or
by any means, electronic, mechanical, photocopying, recording, or otherwise. For information on
obtaining permission for reprints and excerpts, please complete the form at
http://www.pearsoned.com/permissions/
Notice of Liability
The information in this book is distributed on an “As Is” basis, without warranty. While every
precaution has been taken in the preparation of the book, neither the author nor Peachpit Press
shall have any liability to any person or entity with respect to any loss or damage caused or
alleged to be caused directly or indirectly by the instructions contained in this book or by the
computer software and hardware products described in it.
Trademarks
Visual QuickPro Guide is a registered trademark of Peachpit Press, a division of Pearson
Education. MySQL is a registered trademark of MySQL AB in the United States and in other
countries. Macintosh and macOS are registered trademarks of Apple, Inc. Microsoft and
Windows are registered trademarks of Microsoft Corp. Other product names used in this book
may be trademarks of their own respective owners. Images of Web sites in this book are
copyrighted by the original holders and are used with their kind permission. This book is not
officially endorsed by nor affiliated with any of the above companies, including MySQL AB.
Unless otherwise indicated herein, any third party trademarks that may appear in this work are
the property of their respective owners and any references to third party trademarks, logos or
other trade dress are for demonstrative or descriptive purposes only. Such references are not
intended to imply any sponsorship, endorsement, authorization, or promotion of Peachpit Press
products by the owners of such marks, or any relationship between the owner and Peachpit Press
or its affiliates, authors, licensees or distributors.
ISBN-13: 978-0-13-430184-6
ISBN-10: 0-13-430184-6
1 17
Printed and bound in the United States of America
Dedication
Dedicated to the fine faculty at my alma mater, Northeast Missouri State University. In
particular, I would like to thank Dr. Monica Barron, Dr. Dennis Leavens, Dr. Ed Tyler, and Dr.
Cole Woodcox, whom I also have the pleasure of calling my friend. I would not be who I am as a
writer, as a student, as a teacher, or as a person if it were not for the magnanimous, affecting, and
brilliant instruction I received from these educators.
Special Thanks to:
My heartfelt thanks to everyone at Peachpit Press, as always.
My gratitude to the fine editor on this project, Mark Taber, for leading the way and putting up
with too many delayed emails and chapters!
Thanks to David Van Ness and Elizabeth Welch for their hard work, helpful suggestions, and
impressive attention to detail. Thanks to Scout Festa for ensuring the writing is “pixel perfect.”
Thanks also to Valerie Perry for indexing and Danielle Foster for laying out the book, and thanks
to Timothy Boronczyk for his technical review.
Kudos to the good people working on PHP, MySQL, Apache, phpMyAdmin, MAMP, and
XAMPP, among other great projects. And a hearty “cheers” to the denizens of the various
newsgroups, mailing lists, support forums, etc., who offer assistance and advice to those in need.
Thanks, as always, to the readers, whose support gives my job relevance. An extra helping of
thanks to those who provided the translations in Chapter 17, “Example—Message Board,” and
who offered up recommendations as to what they’d like to see in this edition.
Finally, I would not be able to get through a single book if it weren’t for the love and support of
my wife, Jessica. And a special shout-out to Zoe and Sam, who give me reasons to, and not to,
write books!.
Table of Contents
Introduction
Chapter 1 Introduction to PHP
Basic Syntax
Sending Data to the Browser
Writing Comments
What Are Variables?
Introducing Strings
Concatenating Strings
Introducing Numbers
Introducing Constants
Single vs. Double Quotation Marks
Basic Debugging Steps
Review and Pursue
Chapter 2 Programming with PHP
Creating an HTML Form
Handling an HTML Form Conditionals
and Operators Validating Form Data
Introducing Arrays
For and While Loops
Review and Pursue
Chapter 3 Creating Dynamic Web Sites
Including Multiple Files
Handling HTML Forms, Revisited
Making Sticky Forms
剩余1196页未读,继续阅读
资源评论
localsg
- 粉丝: 5
- 资源: 77
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功