get result from database equal today |
You can write custom where clause, see number 4 Custom string on this page: http://codeigniter.com/user_guide/databa...cific-data
Try this: PHP Code: $builder->where('created_at >= CURRENT_DATE'); If CI try to protect the field name and mess the query, try this: PHP Code: $builder->where('created_at >= CURRENT_DATE', null, false); |
Messages In This Thread |
get result from database equal today - by viracoders - 05-02-2021, 02:12 AM
RE: get result from database equal today - by includebeer - 05-02-2021, 08:01 AM
|