10. Common Programming Techniques

In This Chapter

Sending Values to a Script 300

Using Hidden Form Inputs 304

Editing Existing Records 309

Paginating Query Results 316

Making Sortable Displays 323

Review and Pursue 328

Now that you have a little PHP and MySQL interaction under your belt, it’s time to take things up a notch. This chapter is similar to Chapter 3, “Creating Dynamic Web Sites,” in that it covers myriad independent topics. But what all of these have in common is that they demonstrate common PHP-MySQL programming techniques. You won’t learn any new functions here; instead, you’ll see how to use the knowledge you already possess to create standard Web functionality.

The examples themselves will broaden the Web application started in ...

Get PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide, Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.