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.
Every now and then for some reason a user will feel compelled to send a message to a webmaster. By using a form this makes the process much easier from both points of view. The user does not have to search for an e-mail address and open an e-mail client, and the webmaster is presented with a relatively well formatted message.
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.
This tutorial teaches you the basic structure of creating PHP form processing. To many this can be a challenging task, so here is how it's done. Complete code presented.
Intended for programmers interested in experimenting with complex user interface elements, this tutorial explores using PHP to generate JavaScript based on data in a database. This tutorial explains a class called chainedSelectors. This class helps you create a SELECT form field that automatically updates the value of another SELECT using JavaScript. PHP is used to retrieve the values for the selectors from a MySQL database. This data is then used to create a JavaScript function that's triggered when the value of the first selector is changed.
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.