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 ...
© 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. Kromann1
(1)Trabuco Canyon, California, USA
Get PHP and MySQL Recipes: A Problem-Solution Approach, Second 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.