Skip to Content
PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide, Fourth Edition
book

PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide, Fourth Edition

by Larry Ullman
September 2011
Intermediate to advanced
696 pages
21h 29m
English
Peachpit Press
Content preview from PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide, Fourth Edition

2. Programming with PHP

In This Chapter

Creating an HTML Form 36

Handling an HTML Form 41

Conditionals and Operators 45

Validating Form Data 49

Introducing Arrays 54

For and While Loops 69

Review and Pursue 72

Now that you have the fundamentals of the PHP scripting language down, it’s time to build on those basics and start truly programming. In this chapter you’ll begin creating more elaborate scripts while still learning some of the standard constructs, functions, and syntax of the language.

You’ll start by creating an HTML form, and then learn how you can use PHP to handle the submitted values. From there, the chapter covers conditionals and the remaining operators (Chapter 1, “Introduction to PHP,” presented the assignment, concatenation, ...

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 for Dynamic Web Sites: Visual Quickpro Guide, Second Edition

PHP and MySQL for Dynamic Web Sites: Visual Quickpro Guide, Second Edition

Larry Ullman

Publisher Resources

ISBN: 9780132767576Purchase book