daily pastebin goal
27%
SHARE
TWEET

Untitled

a guest Dec 16th, 2017 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public function upd($name, $surname, $group, $date_of_taking, $lib_card, $name_book, $id_lib) : array
  2.     {
  3.       $result = $this->mysqli->query("UPDATE info SET
  4.         name = '".$this->mysqli->escape_string($name)."',
  5.         surname = '".$this->mysqli->escape_string($surname)."',
  6.         group = '".$this->mysqli->escape_string($group)."',
  7.         date_of_taking = '".$this->mysqli->escape_string($date_of_taking)."',
  8.         lib_card = '".$this->mysqli->escape_string($lib_card)."',
  9.         name_book = '".$this->mysqli->escape_string($name_book)."'
  10.         WHERE id = '".$this->mysqli->escape_string($id_lib)."';");
  11.       var_dump($result);
  12.       return array();
  13.     }
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