Wednesday, October 30, 2019

Undefined index: command in C:wamp64wwwWSMshopproducts.php on line 5

if($_REQUEST['command']=='add' && $_REQUEST['productid']>0){

$pid=$_REQUEST['productid'];
addtocart($pid,1);
header("location:shoppingcart.php");
exit();
}


Notice: Undefined index: command in C:\wamp64\www\WSMshop\products.php on line 5
and that's the error, i do what i know can fix it, but nothing happen. Please help me. im still newbie in this. TIA

No comments:

Post a Comment

hard drive - Leaving bad sectors in unformatted partition?

Laptop was acting really weird, and copy and seek times were really slow, so I decided to scan the hard drive surface. I have a couple hundr...