PHP – Checking POST and GET Fields

This is another very basic piece of code that will probably come in handy when manually checking form fields for data and used to determine if there is actually any data in the field.

Normally you would have a block of code, normally an If or Switch statement that will check to make sure the variable isn’t empty() and that it is isset() – This function will allow you to do that in batch format, just pass in an array of required fields to check.

Read More