I need a help Bro
tonmooy opened this issue · 2 comments
tonmooy commented
Hello bro Suppose i have video_cat id = 19, 20, 22, 21
.now how can i show or list multiple video category item inside $records array from allvideos table
$where = [
'video_cat' => 19,
'status' => 1,
];
$where = [
'video_cat' => 21,
'status' => 1,
];
$records = $db->table('allvideos')
->select('*')
->orderBy('id', 'DESC')
->where($where)
->getAll();
Thanks in advance