SHARE
TWEET

Untitled

Doops Oct 17th, 2019 98 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  case 'update_customer_form':
  2.                 $customer_id = filter_input(INPUT_GET,'customer');
  3.                 $customer = get_customer_details($customer_id);
  4.                 include('View/update_customer.php');
  5.             break;
  6.             case 'update_customer':
  7.                 $areacode = filter_input(INPUT_POST, 'areacode');
  8.                 $phonenumber = filter_input(INPUT_POST, 'phone');
  9.                 $balance = filter_input(INPUT_POST,'balance', FILTER_SANITIZE_NUMBER_FLOAT);
  10.                 $customercode = filter_input(INPUT_POST,'custno');
  11.  
  12.                 update_customer($customercode,$areacode,$phonenumber,$balance);
  13.                 header("Location: ?action=cust_details&customer=".$customercode);
  14.  
  15.             break;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top