PHP URL Parameter Processing
Some test URLs
- year=2018
- year parameter defined but without value - no error but the value is empty
- without year parameter- this will generate an error
The year parameter from the URL is not set.
Notice: Undefined index: year in C:\home\site\wwwroot\examples\php-input\url-get.php on line 23
The year parameter from the URL is empty.
Notice: Undefined index: year in C:\home\site\wwwroot\examples\php-input\url-get.php on line 27
The year parameter from the URL: