Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. $expiry = date('Y-m-d',strtotime(' - 2 days'));
  2.  
  3. echo $expiry;
  4.  
  5. $data['booking_compeletation'] = 4;
  6.  
  7. $data['booking_status'] = 1;
  8.  
  9. $data['notification']=1;
  10.  
  11. $this->db->where(['booking_status'=>0,'booking_compeletation' => 1,'booking_check_out' > date('d-m-Y',strtotime(' - 2 days'))]);
  12.  
  13. $this->db->update('hotel_rooms_booking',$data);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement