Welcome Guest, Not a member yet? Register   Sign In
Search Results
  Question Thread: get result from database equal today
Post: get result from database equal today

I need to get posts of today from database using where.  PHP Code: -- // Get Today Time $time = Time::today('America/Chicago', 'en_US'); $today = $time->toDateString(); // 2021-02-05 $testModel = n...
898 Views
1 Replies
05-02-2021, 02:12 AM
viracoders
    Thread: view cache option doesn't work
Post: RE: view cache option doesn't work

paulbalandan Wrote: (02-24-2021, 10:29 AM) -- try PHP Code: -- return view('index', $data, ['cache' => 120]); -- -- It's also doesn't work!! You check it?
1,574 Views
2 Replies
02-26-2021, 02:05 AM
viracoders
    Thread: view cache option doesn't work
Post: view cache option doesn't work

I have this controller and need to cache view using options method: PHP Code: -- public function index() { helper('text'); $settings = service('settings'); $data = array( 'titl...
1,574 Views
2 Replies
02-23-2021, 11:28 AM
viracoders
    Thread: Get Last Record In Each MySQL Group
Post: Get Last Record In Each MySQL Group

I need to this SQL query to get last record in each group: PHP Code: -- SELECT id, category_id, post_title FROM posts WHERE id IN (     SELECT MAX(id)     FROM posts     GROUP BY category_id ...
2,914 Views
1 Replies
02-09-2021, 06:15 AM
viracoders

Theme © iAndrew 2016 - Forum software by © MyBB