Skip to Content
PHP and MySQL® Web Development, Fourth Edition
book

PHP and MySQL® Web Development, Fourth Edition

by Luke Welling, Laura Thomson
October 2008
Intermediate to advanced content levelIntermediate to advanced
1008 pages
23h 16m
English
Addison-Wesley Professional
Content preview from PHP and MySQL® Web Development, Fourth Edition

2 Storing and Retrieving Data

NOW THAT YOU KNOW HOW TO ACCESS AND manipulate data entered in an HTML form, you can look at ways of storing that information for later use. In most cases, including the example from the previous chapter, you’ll want to store this data and load it later. In this case, you need to write customer orders to storage so that they can be filled later.

In this chapter, you learn how to write the customer’s order from the previous example to a file and read it back. You also learn why this isn’t always a good solution. When you have large numbers of orders, you should use a database management system such as MySQL instead.

Key topics you learn in this chapter include

  Saving data for later

  Opening a file

  Creating and ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

PHP and MySQL® Web Development, Fifth Edition

PHP and MySQL® Web Development, Fifth Edition

Luke Welling, Laura Thomson
PHP for Absolute Beginners

PHP for Absolute Beginners

Thomas Blom Hansen, Jason Lengstorf

Publisher Resources

ISBN: 9780672329166Purchase book