ISBN-10: 1449325572

ISBN-13: 9781449325572

Edition: 2nd 2012

Authors: Brett McLaughlin

List price: $31.99 Buy it from $7.72
eBook available
30 day, 100% satisfaction guarantee

If an item you ordered from TextbookRush does not meet your expectations due to an error on our part, simply fill out a return request and then return it by mail within 30 days of ordering it for a full refund of item cost.

Learn more about our returns policy


If you can build websites with CSS and JavaScript, this book takes you to the next level—creating dynamic, database-driven websites with PHP and MySQL. Learn how to build a database, manage your content, and interact with users through queries and web forms. With step-by-step tutorials, real-world examples, and jargon-free explanations, you’ll quickly discover the power of server-side programming.This second edition provides new code files and expanded coverage of local and server-side programming.The important stuff you need to know:Learn the language. Get up to speed on PHP and SQL syntax quickly.Gain new techniques. Take advantage of the all-new chapter on integrating PHP with HTML web pages.Manage your content. Use the file system to access user data, including images and other binary files.Make it dynamic. Create pages that change with each new viewing.Build a good database. Use MySQL to store user information and other data.Keep your site working. Learn the tools for fixing things that go wrong.Control operations. Create an administrative interface to oversee your site.
New Starting from $30.04
eBooks Starting from $33.99
Rent eBooks
Buy eBooks
what's this?
Rush Rewards U
Members Receive:
You have reached 400 XP and carrot coins. That is the daily max!
Study Briefs

Limited time offer: Get the first one free! (?)

All the information you need in one place! Each Study Brief is a summary of one specific subject; facts, figures, and explanations to help you learn faster.

Add to cart
Study Briefs
Periodic Table Online content $4.95 $1.99
Add to cart
Study Briefs
SQL Online content $4.95 $1.99
Add to cart
Study Briefs
MS Excel® 2010 Online content $4.95 $1.99
Add to cart
Study Briefs
MS Word® 2010 Online content $4.95 $1.99
Customers also bought

Book details

List price: $31.99
Edition: 2nd
Copyright year: 2012
Publisher: O'Reilly Media, Incorporated
Publication date: 11/30/2012
Binding: Paperback
Pages: 600
Size: 7.00" wide x 9.25" long x 1.25" tall
Weight: 1.848
Language: English

Brett McLaughlin is a bestselling and award-winning non-fiction author. His books on computer programming, home theater, and analysis and design have sold in excess of 100,000 copies. He has been writing, editing, and producing technical books for nearly a decade, and is as comfortable in front of a word processor as he is behind a guitar, chasing his two sons and his daughter around the house, or laughing at reruns of Arrested Development with his wife. Brett spends most of his time these days on cognitive theory, codifying and expanding on the learning principles that shaped the Head First series into a bestselling phenomenon. He's curious about how humans best learn, why Star Wars was so formulaic and still so successful, and is adamant that a good video game is the most effective learning paradigm we have.

The Missing Credits
PHP and MySQL Basics
PHP: What, Why, and Where?
PHP Comes in Two Flavors: Local and Remote
PHP: Going Local
Write Your First Program
Run Your First Program
But Where's That Web Server?
Script or HTML?
PHP Talks Back
Run PHP Scripts Remotely
PHP Syntax: Weird and Wonderful
Get Information from a Web Form
Working with Text in PHP
The REQUEST Variable Is an Array
What Do You Do with User Information?
MySQL and SQL: Database and Language
What Is a Database?
Installing MySQL
SQL Is a Language for Talking to Databases
Dynamic Web Pages
Connecting PHP to MySQL
Writing a Simple PHP Connection Script
Cleaning Up Your Code with Multiple Files
Building a Basic SQL Query Runner
Regular Expressions
String Matching, Double-Time
Generating Dynamic Web Pages
Revisiting a User's Information
Planning Your Database Tables
Saving a User's Information
Show Me the User
Revisiting (and Redirecting) the Create User Script
From Web Pages to Web Applications
When Things Go Wrong (and They Will)
Planning Your Error Pages
Finding a Middle Ground for Error Pages with PHP
Add Debugging to Your Application
Redirecting On Error
Handling Images and Complexity
Images Are Just Files
Images Are for Viewing
And Now for Something Completely Different
Binary Objects and Image Loading
Storing Different Objects in Different Tables
Inserting a Raw Image into a Table
Your Binary Data Isn't Safe to lnsert…Yet
Connecting Users and Images
Show Me the Image!
Embedding an Image Is Just Viewing an Image
So, Which Approach Is Best?
Listing, Iterating, and Administrating
Thinking about What You Need as an Admin
Listing All Your Users
Deleting a User
Talking Back to Your Users
Standardizing on Messaging
Integrating Utilities, Views, and Messages
Security and the Real World
Authentication and Authorization
Basic Authentication
Abstracting What's the Same
Passwords Don't Belong in PHP Scripts
Passwords Create Security, But Should Be Secure
Cookies, Sign-Ins, and Ditching Crummy Pop-Ups
Moving Beyond Basic Authentication
Logging In with Cookies
Adding Context-Specific Menus
Authorization and Sessions
Modeling Groups in Your Database
Checking for Group Membership
Group-Specific Menus
Entering Browser Sessions
Memory Lane: Remember That Phishing Problem?
Why Would You Ever Use Cookies?
Installing PHP on Windows Without WAMP
Installing MySQL Without MAMP or WAMP
Free shipping on orders over $35*

*A minimum purchase of $35 is required. Shipping is provided via FedEx SmartPost® and FedEx Express Saver®. Average delivery time is 1 – 5 business days, but is not guaranteed in that timeframe. Also allow 1 - 2 days for processing. Free shipping is eligible only in the continental United States and excludes Hawaii, Alaska and Puerto Rico. FedEx service marks used by permission."Marketplace" orders are not eligible for free or discounted shipping.

Learn more about the TextbookRush Marketplace.