Description: gets tha value from a variable. The function tries to get the value from the $_GET array, if it doesn't work it falls back to the params array
Parameter:
- variable: the name of the variable you want to get the value from
- params: the parameters as assiciative array
root
2015-09-06