Notice: Undefined index: buttonClicked in
Posted: Fri Sep 23, 2016 5:37 am
i have a checkout with two buttons but then the user is sent from the cart to the checkout im getting the following error
the code is
line 259:
288:
Code: Select all
Notice: Undefined index: buttonClicked in /home/erggnfr/public_html/web/AW16/checkout.php on line 259
Notice: Undefined index: buttonClicked in /home/erggnfr/public_html/web/AW16/checkout.php on line 288the code is
line 259:
Code: Select all
if (is_numeric($_POST['buttonClicked']) && ($_POST['buttonClicked']==1)) {Code: Select all
elseif (is_numeric($_POST['buttonClicked']) && ($_POST['buttonClicked']==2)){