Below are revisions for this snippet.

Validate user input





Syndication

Revision Revison 1
A little function that does some basic checking for data input by a user. Should get rid of code injection ;-)