$_GET[] index is not defined

$_GET[] index is not defined

Hi,

What could be solution of the error:

$_GET['someparameter'] index is not defined

Thanks

View Answers

December 27, 2013 at 12:36 PM

Hi,

You can use the following code:

if (isset($_GET['someparameter']))
{
    // your code here
}else{
        //your code here

}

Thanks









Related Tutorials/Questions & Answers:

Ads