Ever wondered how you can use a form to log someone in, or get information from the user and drop it into a database? This is a good example of how to get all of the info from those elusive cells. It also shows you how to make sure that they don't leave a field blank.
Most dynamic web sites rely heavily on forms. From user authentication to entry of news items, we use forms to accept user input. There are many different ways we can validate data from the user. In this tutorial, we will examine several of the more common items that need validation and provide examples for each. We will also explore how to check documents for misspelled words and suggest proper replacements.
Platform(s): Linux, Windows, FreeBSD, Mac OSX, Sun Solaris
Fast and easy way to make the needed item from a list of items in a form choosen as default. The example shows how to use it to select a country from a list.
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.
In this part four of a series on HTML form handling with PHP, it explains how to create a powerful PHP form handler, called Phorm Manager. Topics include: Design goals, Internal data management, form validation, and more. Full source code available.
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.