Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

DevShed:
Performing Strict Validation with the Code Igniter PHP Framework
Sep 12, 2008 @ 13:57:38

DevShed has posted the fifth article in their series looking at using the CodeIgniter framework in your application. This part focuses on refining the validation methods in the previous part to make them a bit more strict.

In the last article you learned a very simple way to use the framework to check information supplied by users through an HTML form. The type of checking done was very simple, however, and user-supplied data must be checked and validated pretty strictly for many purposes. This article will show you how to improve the previous application's validation mechanism.

They use the same form example from before but build out different methods to check and repopulate the user's input if the validation happens to fail.

tagged: codeigniter tutorial form validation framework

Link:


Trending Topics: