Skip navigation

On September 14th, 2017, we published revised versions of our Privacy Policy, Terms of Service and Website Use Policy and published a Cookie Policy. Your continued use of Lynda.com means you agree to these revised documents, so please take a few minutes to read and understand them.

Validating form values

Validating form values: PHP with MySQL Essential Training (2013)
Validating form values: PHP with MySQL Essential Training (2013)

The easiest form-field requirement in MySQL is that a user cannot leave a form blank. Character requirements such as verifying that an email address has the @ symbol are also common. This video on validating form values walks you through present string length, type inclusion, uniqueness, and format. A high-level function in format is preg_match, and it lets you apply a regular expression to see if there is a match.

Resume Transcript Auto-Scroll
Skill Level Beginner
14h 32m
Duration
5,752,746
Views
Show More Show Less

Q: This course was revised on 6/4/2013. What changed?

A: The old version of this course was 6 years old and it was time for a complete revision, using PHP 5.4. (The tutorials will work with any version of PHP and covers any differences you might encounter). The author has also added updated installation instructions for Mac OS X Mountain Lion and Windows 8. The topics and end project are the same, but the code is slightly different. It also addresses frequently asked questions from the previous version.

Q: This course was updated on 5/20/2015. What changed?

A: We added one movie called "Changing the document root in Yosemite," which helps the Mac installation run more smoothly.

Continue Assessment

You started this assessment previously and didn't complete it. You can pick up where you left off, or start over.

Start Your Free Trial Now

Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now