An O'Reilly Book Learning PHP, MySQL, JavaScript & CSS
2nd Edition By Robin Nixon (O'Reilly 2012, ISBN 978-1449319267)

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

Click here for the latest edition

Find out for yourself why Learning PHP, MySQL, JavaScript & CSS is the number-one best-selling blockbuster that has been at the top of the charts for over two 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 will teach you how to create responsive, data-driven websites with the three central technologies of PHP, MySQL and JavaScript - 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 2nd Edition
  1. Introduction to Dynamic Web Content
  2. Setting Up a Development Server
    IMPORTANT: Zend Server CE has just been replaced with Zend Server Free Edition. Please read this updated Chapter 2 in place of the published chapter.
  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. 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 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

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. He has written over 500 articles and several books on computing, including HTML5 For iOS and Android, and The Web Developer's Cookbook.