Guest User

Untitled

a guest
Jan 17th, 2019
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. public function result_multi($sql) {
  2.  
  3. try {
  4. mysqli_multi_query($this->db_connection,$sql);
  5. $result=mysqli_store_result($this->db_connection);
  6. $row=mysqli_fetch_row($result);
  7. }
  8.  
  9. $b=new DB;
  10. $sql="INSERT INTO payout (mid, type, datetime) VALUES ('0','BC',
  11. NOW());SELECT LAST_INSERT_ID();";
  12. $b->result_multi($sql);
Add Comment
Please, Sign In to add comment