An O'Reilly Book Learning PHP, MySQL, JavaScript, CSS & HTML5
3rd Edition By Robin Nixon (O'Reilly 2014, ISBN 978-1491949467)

About | Buy Paperback / Kindle | 3rd Edition Examples | Errata | Editions: 1st 2nd 3rd 4th

Click here for the latest edition

Find out for yourself why Learning PHP, MySQL, JavaScript, CSS & HTML5 is the number-one best-selling blockbuster that has been at the top of the charts for over five years worldwide, is the first result returned on PHP by Amazon US, UK and Canada, the first foreign language title on PHP returned on European Amazon websites, and in the top 10 foreign books on PHP on Amazon Japan and China!
     Learning PHP, MySQL, JavaScript, CSS & HTML5 will teach you how to create responsive, data-driven websites with the central technologies of PHP, MySQL, JavaScript, CSS, & HTML5 - whether or not you know how to program. This simple, streamlined guide explains how the powerful combination of PHP and MySQL provides a painless way to build modern websites with dynamic data and user interaction. You'll also learn how to add JavaScript to create rich Internet websites and applications, and how to use Ajax to handle background communication with a web server.


Book Cover
Contents of the 3rd Edition
  1. Introduction to Dynamic Web Content
  2. Setting Up a Development Server (Free Update!)
  3. Introduction to PHP
  4. Expressions and Control Flow in PHP
  5. PHP Functions and Objects
  6. PHP Arrays
  7. Practical PHP
  8. Introduction to MySQL
  9. Mastering MySQL
  10. Accessing MySQL Using PHP
  11. Using the MySQLi Extension (Download Free Update!)
  12. Form Handling
  13. Cookies, Sessions and Authentication
  14. Exploring JavaScript (Why document.write()?)
  15. Expressions and Control Flow in JavaScript
  16. JavaScript Functions, Objects and Arrays
  17. JavaScript and PHP Validation and Error Handling
  18. Using AJAX
  19. Introduction to CSS
  20. Advanced CSS with CSS3
  21. Accessing CSS From JavaScript
  22. Introduction to HTML5
  23. The HTML5 Canvas
  24. HTML5 Audio and Video
  25. Other HTML5 Features
  26. Bringing it all Together

This book explains each technology separately, shows you how to combine them, and introduces valuable concepts in modern web programming, including objects, XHTML, cookies, regular expressions and session management. Learning PHP, MySQL, JavaScript, CSS & HTML5 will help you:

  • Understand the essentials of PHP and the basics of object-oriented programming
  • Master MySQL, from database structure to complex queries
  • Create interactive web pages with PHP and MySQL by integrating forms and other HTML features
  • Get a thorough grounding in JavaScript, from functions and event handling to accessing the Document Object Model
  • Understand the basics (and advanced use) of CSS and CSS3, including transformations and animations.
  • Learn how to make Ajax calls and turn your website into a highly dynamic environment
  • Discover how to access DOM elements and CSS properties from JavaScript
  • Find out how to upload and manipulate files and images, validate user input and secure your applications against being hacked
  • Develop best practices for error handling and user authentication
  • Incorporate HTML5 features such as audio, video, geolocation and the canvas into your websites

Programming tips and exercises in each chapter will help you practice what you've learned. If you have a graphics or web design background and know your way around HTML, this book will have you building interactive websites quickly.

Robin Nixon is a technical author who has also built numerous websites using PHP, MySQL, JavaScript, CSS & HTML5. He has written over 500 articles and several books on computing, including The Web Developer's Cookbook.