An O'Reilly Book Learning PHP, MySQL, & JavaScript
5th Edition By Robin Nixon (O'Reilly 2018)

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

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

Find out for yourself why Learning PHP, MySQL, & JavaScript 5th Edition is the number-one best-selling blockbuster that has been at the top of the charts for the past 10 years, 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 (Now featuring jQuery Mobile)!
     Learning PHP, MySQL, & JavaScript 5th 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 apps, how to use Ajax to handle background communication with a web server, and how to develop compelling mobile websites and web apps

Book Cover
Contents of the 5th 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 jQuery Mobile
  23. Introduction to HTML5
  24. The HTML5 Canvas
  25. HTML5 Audio and Video
  26. Other HTML5 Features
  27. 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 5th Edition will help you:

  • Understand the essentials of PHP and the basics of object-oriented programming (OOP)
  • 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 (DOM)
  • Understand the basics (and advanced use) of CSS and CSS3, including transformations and animations.
  • Learn how to make Ajax asynchronous 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 hacking
  • 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
  • Use jQuery Mobile to develop mobile websites and web apps

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