Head First PHP & MySQL (Paperback)

Lynn Beighley, Michael Morrison

買這商品的人也買了...

相關主題

商品描述

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.

商品描述(中文翻譯)

如果你已經準備好創建比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》是開始的理想方式。