Advertisement
Doops

Untitled

Oct 17th, 2019
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.36 KB | None | 0 0
  1. function update_customer($custcode,$areacode,$phonenumber,$balance){
  2.     $query = 'CALL uspUpdateCustomer(:custcode, :areacode, :phone, :balance)';
  3.     $params = array(
  4.         ':custcode' => $custcode,
  5.         ':areacode' => $areacode,
  6.         ':phone' => $phonenumber,
  7.         ':balance' => $balance
  8.     );
  9.  
  10.     DatabaseHandler::Execute($query,$params);
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement