Validate form data with php

How do you validate form data using php? I currently use javascript but users can turn that off. For example I want to make sure a user completes a field (does not leave it blank) before the form is submitted to a cgi script for action.

Any ideas (or code snippets) are appreciated!

 

 

 

 

Top