Skip to content

Instantly share code, notes, and snippets.

@jawngee
Created July 14, 2009 02:53
Show Gist options
  • Save jawngee/146669 to your computer and use it in GitHub Desktop.
Save jawngee/146669 to your computer and use it in GitHub Desktop.
<?
$input=Input::Get();
if ($input->has('name','age','sex'))
{
// ...
}
else
throw new InvalidParametersException("Required form variables missing.");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment