Developers Map
Discy Latest Questions
if you want to change your default timezone according to your client country then you can change it. you can change it in config/bootstrap.php file.Below is south africa time zone Code : // you can enter according your country
In app.php add index in data source array 'flags' => [ PDO::MYSQL_ATTR_INIT_COMMAND => "SET @@SESSION.sql_mode='NO_ENGINE_SUBSTITUTION';" ]
Now a days Cakephp is a most common framework. if you want to increment you column with any number you can use below sql code : Code :
Hello Guys here i demonstrate how to use HasMany relation between two tables in controller, Relying on the example above, we have passed an array containing the desired composite keys to setForeignKey(). By default the bindingKey would be automatically defined as ...
Now a days Cakephp is a most common framework. It is simple and easy to use.if you want use multiple OR condition in a query then use below code : For more info click here
Get controller name in view cake php 3 us code:
I am trying to remove and change the wrapping div that CakePHP 3 uses on its form helper. I Use this code:
How to Add, Edit, Update and delete user’s detail with file upload in using Cake php