This article describes how to create a generic form processor in PHP. Discussion involves form elements, hidden fields, and more. Also covers the installation process of NuSphere MySQL, an integrated multi-platform distribution of Apache, Perl, PHP, and MySQL.
Checkboxes in web forms are useful because they allow the person filling out the form to choose from a wide range of possible choices. Specifically, it allows the user to choose some, all or none of the elements. Although checkboxes are excellent form elements for certain tasks, there is often confusion about how to store checkbox data correctly. This article will demonstrate how to store checkbox data in a database, in a manner that follows good database design principles.
This tutorial teaches you how to process a simple feedback form. It records the date and time that the user logged into the system and saves this information, in addition to the user's name and email address, in several cookies. Upon subsequent logins, the code checks whether the user is a new or repeat user and displays information accordingly.
Input is one of the most important aspects of any program, in any programming language. In this tutorial, you will learn how to create an HTML form to accept user input and then how to retrieve that input in PHP.
PHP provides a handy and convenient way to send email through the mail() function. This function is a great way to send mail using a simple and standard interface that hides the complexity and quirks of various system programs that are responsible for sending mail. This tutorial will introduce you to the basics of sending mail from PHP scripts and making a simple feedback form.