function get_param ($var_name, $default = '', $mode = '')
Use this function to read values from form which is using GET method, or from URL.
$var_name is the name of the variable to be read from.
$default is the default value to be assigned if the variable doesn't exist.
$mode is how to read the variable:
echo get_param ('number', 5);
If you call the script with test.php?number=10, it will output '10'.
Subscribe to our newsletter for the latest updates and exciting promotions!