$_GET[] index is not defined

Ads

 
 

Share on Google+Share on Google+

Java Coder
$_GET[] index is not defined
1 Answer(s)      3 years and 5 months ago
Posted in : PHP

Hi,

What could be solution of the error:

$_GET['someparameter'] index is not defined

Thanks

Ads
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


Ads









Related Tutorials/Questions & Answers: