This article will touch on two skills in the interface between PHP and HTML forms, specifically in working with hidden fields, and as a bonus, in passing arrays in an HTML form.
One of the most popular ways to make a web site interactive is the use of forms. With forms you can have users register for different things, submit any information you can imagine, upload files, and all types of other things. In this tutorial, we will go through the basics of forms and how to handle the data that comes from those forms with PHP.
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.
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.