laravel-query-builder Questions

3

Solved

$book = array('book1','book2'); $book array elements numbers are variable. it might have 2 element or 20 elements I need to make a query like this: select * from book where bookname like %book1%...
Pedant asked 17/12, 2015 at 8:30

1

Solved

How to get only date on database column, I have difficulties using Carbon on controller: $data['nowUser'] = User::where('date', Carbon::today()->toDateString())->get(); Date column looks l...
Examination asked 13/12, 2015 at 1:45

© 2022 - 2024 — McMap. All rights reserved.