Learning PHP, MySQL, and JavaScript: A Step-By-Step Guide to Creating Dynamic Websites

Front Cover
"O'Reilly Media, Inc.", Jul 3, 2009 - Computers - 528 pages
22 Reviews

If you know HTML, this guide will have you building interactive websites quickly. You'll learn how to create responsive, data-driven websites with PHP, MySQL, and JavaScript, regardless of whether you already know how to program. Discover how the powerful combination of PHP and MySQL provides an easy way to build modern websites complete with dynamic data and user interaction. You'll also learn how to add JavaScript to create rich Internet applications and websites.

Learning PHP, MySQL, and JavaScript explains each technology separately, shows you how to combine them, and introduces valuable web programming concepts, including objects, XHTML, cookies, and session management. You'll practice what you've learned with review questions in each chapter, and find a sample social networking platform built with the elements introduced in this book.

This book will help you:

  • Understand PHP essentials and the basics of object-oriented programming
  • Master MySQL, from database structure to complex queries
  • Create web pages with PHP and MySQL by integrating forms and other HTML features
  • Learn about JavaScript, from functions and event handling to accessing the Document Object Model
  • Use libraries and packages, including the Smarty web template system, PEAR program repository, and the Yahoo! User Interface Library
  • Make Ajax calls and turn your website into a highly dynamic environment
  • Upload and manipulate files and images, validate user input, and secure your applications

What people are saying - Write a review

User ratings

5 stars
4 stars
3 stars
2 stars
1 star

Review: Learning PHP, MySQL, and JavaScript

User Review  - Joshua Mooney - Goodreads

An excellent introduction to the basics of web design that teaches all the necessary components for designing very a simple, functional website. Highly recommended to those eager to learn about web design, but unsure of where to start. Read full review

Review: Learning PHP, MySQL, and JavaScript

User Review  - Charlie Hebert - Goodreads

Although the book offers a decent introduction to some of the technologies outlined in its title and how they work together, I would not recommend this to someone wishing to start web development in ... Read full review


Chapter†1†Introduction to Dynamic Web Content
Chapter†2†Setting Up a Development Server
Chapter†3†Introduction to PHP
Chapter†4†Expressions and Control Flow in PHP
Chapter†5†PHP Functions and Objects
Chapter†6†PHP Arrays
Chapter†7†Practical PHP
Chapter†8†Introduction to MySQL
Chapter†15†Expressions and Control Flow in JavaScript
Chapter†16†JavaScript Functions Objects and Arrays
Chapter†17†JavaScript and PHP Validation and Error Handling
Chapter†18†Using Ajax
Chapter†19†Using YUI for Ajax and More
Chapter†20†Bringing It All Together
Appendix†A†Solutions to the Chapter Questions
Appendix†B†Online Resources

Chapter†9†Mastering MySQL
Chapter†10†Accessing MySQL Using PHP
Chapter†11†Form Handling
Chapter†12†Templating with Smarty
Chapter†13†Cookies Sessions and Authentication
Chapter†14†Exploring JavaScript
Appendix†C†MySQLs FULLTEXT Stopwords
Appendix†D†MySQL Functions
Appendix†E†Using PEAR and PHPUnit

Common terms and phrases

About the author (2009)

Robin Nixon has worked with and written about computers since the early 1980s (his first computer was a Tandy TRS 80 Model 1 with a massive 4KB of RAM!). During this time he has written in excess of 500 articles for many of the UK's top computer magazines. Learning PHP, MySQL & JavaScript is his third book. Robin started his computing career in the Cheshire homes for disabled people, where he was responsible for setting up computer rooms in a number of residential homes, and for evaluating and tailoring hardware and software so that disabled people could use the new technology--sometimes by means of only a single switch operated by mouth or finger.After writing articles for computer magazines about his work with disabled people, he eventually worked full time for one of the country's main IT magazine publishers, where he held several roles including editorial, promotions, and cover disc editing.With the dawn of the Internet in the 1990s, Robin branched out into developing websites. One of these presented the world's first radio station licensed by the music copyright holders, and was featured in several news reports on TV and radio networks in the United Kingdom. In order to enable people to continue to surf while listening, Robin also developed the first known pop-up windows.Robin lives on the southeast coast of England with his wife Julie, a trained nurse, and five children, where he also finds time to foster three disabled children, as well as working full time from home as a technical author.

Bibliographic information