To change default layout in CakePHP, We need to go in cakephp AppController.php
In AppController we have to write cakephp beforeFilter method.
beforeFilter() method is executed before every action in the controller.
It will like below example :
Location : src/Controller/AppController.php
Note : Write this method after initialize() method in AppController
Continue reading “CakePHP 3 : Change Default Layout”
This blog on Laravel restful APIS.
Example we have a database table called tags.
CREATE TABLE `tags` (
`id` int(11) NOT NULL,
`name` varchar(25) DEFAULT NULL,
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL,
`status` tinyint(2) DEFAULT NULL
Now we need routing to create bread. BREAD stands for Browse Read Edit Add and delete.
Continue reading “Laravel RESTful API”
A simple design given below for month wise total amount fetch data using bootstrap 4. Continue reading “PHP and MYSQL Month wise total summary”