如果您准备创建比使用HTML和CSS构建的网页更复杂的网页,Head First PHP&MySQL是使用PHP和MySQL构建动态数据库驱动网站的终极学习指南。本书中包含许多实际示例,从PHP和MySQL编码的基础知识到高级主题(如表单验证,会话ID,Cookie,数据库查询和联接,文件I/O),您都可以学习到服务器端编程的所有基本知识。运营,内容管理等。
Head First PHP和MySQL提供了相同的视觉丰富格式,该格式使Head First系列中的每个标题变成了畅销书,并提供大量练习,测验,拼图和其他互动功能,可以帮助您保留所学知识。
使用PHP将静态HTML页面转换为动态网站
创建并填充自己的MySQL数据库表,并使用文件中存储的数据
使用联接执行复杂的MySQL查询,并使用LIMIT和ORDER BY完善结果
使用Cookie和会话来跟踪访问者的登录信息并为用户个性化网站
保护数据免受SQL注入攻击
使用正则表达式验证表单上的信息
根据会话信息动态显示文本并即时创建图像
使用PHP和XML从其他站点提取联合数据
在整本书中,您将构建复杂的示例(包括邮件列表,工作板和在线约会网站),以帮助您学习如何在各种情况下利用PHP和MySQL的功能。如果您准备建立一个真正的动态网站,那么Head First PHP和MySQL是理想的选择。
If you're ready to create web pages more complex than those you can build with HTML and CSS, Head First PHP & MySQL is the ultimate learning guide to building dynamic, database-driven websites using PHP and MySQL. Packed with real-world examples, this book teaches you all the essentials of server-side programming, from the fundamentals of PHP and MySQL coding to advanced topics such as form validation, session IDs, cookies, database queries and joins, file I/O operations, content management, and more.
Head First PHP & MySQL offers the same visually rich format that's turned every title in the Head First series into a bestseller, with plenty of exercises, quizzes, puzzles, and other interactive features to help you retain what you've learned.
Use PHP to transform static HTML pages into dynamic web sites
Create and populate your own MySQL database tables, and work with data stored in files
Perform sophisticated MySQL queries with joins, and refine your results with LIMIT and ORDER BY
Use cookies and sessions to track visitors' login information and personalize the site for users
Protect your data from SQL injection attacks
Use regular expressions to validate information on forms
Dynamically display text based on session info and create images on the fly
Pull syndicated data from other sites using PHP and XML
Throughout the book, you'll build sophisticated examples — including a mailing list, a job board, and an online dating site — to help you learn how to harness the power of PHP and MySQL in a variety of contexts. If you're ready to build a truly dynamic website, Head First PHP & MySQL is the ideal way to get going.
以下为对购买帮助不大的评价