O'Reilly logo

PHP and MySQL Recipes: A Problem-Solution Approach, Second Edition by Frank M. Kromann

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

© Frank M. Kromann 2016

Frank M. Kromann, PHP and MySQL Recipes, 10.1007/978-1-4842-0605-8_13

13. Creating and Using Forms

Frank M. Kromann

(1)Trabuco Canyon, California, USA

HTML Forms have many usages, ranging from a simple contact form to a way to collect and edit data in a web-based application. Forms can be created as a static section of HTML or it can be dynamically generated with PHP based on a set of data from a database or another source. No matter how the form is generated it’s good practice to validate the input before the form is submitted. This will help prevent data errors and the user will be able to correct errors without having the data sent to the server for validations. It is also necessary to validate the contents of the POST ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required