An O'Reilly Book Learning PHP, MySQL, & JavaScript
4th Edition By Robin Nixon (O'Reilly 2014, ISBN 978-1491918661)

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

This page refers to the 4th Edition of the book, published December 2014. Please click the links in the header for the 1st, 2nd and 3rd Edition pages.

Find out for yourself why Learning PHP, MySQL, & JavaScript 4th Edition 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 4th Edition 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 4th Edition
(Includes CSS, HTML5, XAMPP, mysqli, & jQuery)
  1. Introduction to Dynamic Web Content
  2. Setting Up a Development Server
  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. Form Handling
  12. Cookies, Sessions and Authentication
  13. Exploring JavaScript
  14. Expressions and Control Flow in JavaScript
  15. JavaScript Functions, Objects and Arrays
  16. JavaScript and PHP Validation and Error Handling
  17. Using AJAX
  18. Introduction to CSS
  19. Advanced CSS with CSS3
  20. Accessing CSS From JavaScript
  21. Introduction to jQuery
  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 4th Edition 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 and jQuery
  • 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
  • Use jQuery to speed development and minimize cross-browser inconsistencies

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 almost 30 books on computing.