Thread: Chapter 10 code
View Single Post
  #2 (permalink)  
Old August 30th, 2015, 12:33 PM
nbnyc nbnyc is offline
Registered User
Points: 11, Level: 1
Points: 11, Level: 1 Points: 11, Level: 1 Points: 11, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2015
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

From looking at http://php.net/manual/en/function.filter-input.php...

It seems that INPUT_GET is a value for the "type" parameter of the filter_input() function.

So basically you're telling filter_input() where to look for the variable you want filtered.

This is how filter_input() wants this info, so that's how you have to provide it ; )
Reply With Quote