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

Front Cover
"O'Reilly Media, Inc.", Aug 27, 2012 - Computers - 556 pages
3 Reviews

Learn how to build interactive, data-driven websites—even if you don’t have any previous programming experience. If you know how to build static sites with HTML, this popular guide will help you tackle dynamic web programming. You’ll get a thorough grounding in today’s core open source technologies: PHP, MySQL, JavaScript, and CSS.

Explore each technology separately, learn how to combine them, and pick up valuable web programming concepts along the way, including objects, XHTML, cookies, and session management. This book provides review questions in each chapter to help you apply what you’ve learned.

  • Learn 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 JavaScript fundamentals, from functions and event handling to accessing the Document Object Model
  • Pick up CSS basics for formatting and styling your web pages
  • Turn your website into a highly dynamic environment with Ajax calls
  • Upload and manipulate files and images, validate user input, and secure your applications
  • Explore a working example that brings all of the ingredients together
 

What people are saying - Write a review

LibraryThing Review

User Review  - ilokhov - LibraryThing

A nice introduction to the basics of dynamic web development including essentials in PHP, MySQL databases and scripting with JavaScript. Everything is explained in quite a lot of detail and no prior ... Read full review

Good text for basics not for beginners

User Review  - vichardy - Overstock.com

Ive been building simple websites ie static using html and css but wanted to go further with programming features so needed to learn javascript and php. This is a good thick text but assumes youve done basic web design before. Worth the price. Read full review

Contents

Chapter 1 Introduction to Dynamic Web Content
1
Chapter 2 Setting Up a Development Server
13
Chapter 3 Introduction to PHP
37
Chapter 4 Expressions and Control Flow in PHP
65
Chapter 5 PHP Functions and Objects
93
Chapter 6 PHP Arrays
119
Chapter 7 Practical PHP
133
Chapter 8 Introduction to MySQL
161
Chapter 15 JavaScript Functions Objects and Arrays
329
Chapter 16 JavaScript and PHP Validation and Error Handling
347
Chapter 17 Using Ajax
369
Chapter 18 Introduction to CSS
385
Chapter 19 Advanced CSS with CSS3
423
Chapter 20 Accessing CSS from JavaScript
449
Chapter 21 Bringing It All Together
469
Appendix A Solutions to the Chapter Questions
499

Chapter 9 Mastering MySQL
205
Chapter 10 Accessing MySQL Using PHP
229
Chapter 11 Form Handling
255
Chapter 12 Cookies Sessions and Authentication
271
Chapter 13 Exploring JavaScript
291
Chapter 14 Expressions and Control Flow in JavaScript
311
Appendix B Online Resources
513
Appendix C MySQLs FULLTEXT Stopwords
517
Appendix D MySQL Functions
521
Index
533
Copyright

Other editions - View all

Common terms and phrases

About the author (2012)

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!). One of the web sites he developed presented the world's first radio station licensed by the music copyright holders. In order to enable people to continue to surf while listening, Robin also developed the first known pop-up windows. He has also worked full time for one of Britain's main IT magazine publishers, where he held several roles including editorial, promotions, and cover disc editing.

Bibliographic information