Hey Guys,
I have a simple if/else condition, and I keep getting an error "Undefined index: store" . I was wondering why its giving me thar error with the first if statment evalutes to true?? .
Below is my code. Thanks!
if(isset($_SESSION['store'])){ $store_name = $_SESSION['store']; } else { $store_name = trim($_GET["store"],"/"); }
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.