(Site Identification)

'Eye' Focus: Web Support Tutorials

Forms: PHP Variables


PHP comes packed with a lot of power and options, and much of the functionality of PHP is very handy indeed. However, if you are not aware of how that functionality works things can quickly get quite messy.

Something you should learn early is how PHP manages posted information. This is important, especially in relation to this forms tutorial, as it relates to how you manage the data your forms post, display, and transmit.

This page will explain and illustrate the process of managing the data for different conditions. The method is rather simple but you must be diligent in the application of the method for proper results.

Explanation Test Example Data
NOTE: Submitting the form will present a larger table, more examples of code, and an explanation of the results.
An Example of Problematic Data:
To begin, submit the test data to the right and review the result. Then, from there, you may try your own examples.

[Updated: Sunday, November 18, 2007]