cakephp-3.2 Questions

4

I am using cakephp 3.2 and when i am retrieving data by find query it is giving date fields in this format Array ( [0] => Cake\I18n\FrozenDate Object ( [date] => 2016-08-01 00:00:00 [tim...
Lydell asked 11/10, 2016 at 5:13

3

I have done model association in cake 3.2 Here i have done it for one id of same table . I have tried to do it for other one ,but its not working at all below is the flow. This output i am gett...
Magneto asked 23/6, 2016 at 10:10

1

Solved

I researched everywhere but could not find the solution, In the database, I am using from_date field as date(2018-07-07) type But when I find the data then it auto converts in from_date to 'Cake\I...
Hitherward asked 4/7, 2018 at 7:1

2

Solved

I am using CakePHP 3.2. I have two tables service_requests and coupon_history service_requests table CREATE TABLE `service_requests` ( `id` char(36) NOT NULL, `request_id` bigint(20) NOT NULL, ...
Limbert asked 1/7, 2016 at 7:25

1

Solved

I'm working on CakePHP 3.2 I want to use an array in the query WHERE IN () The code is as $filter_p_t = $this->request->query('p_t'); $pros10 = $this->Products->find() ->where([...
Jarboe asked 14/10, 2016 at 17:34
1

© 2022 - 2024 — McMap. All rights reserved.