This a simple example to print a JavaScript object using react.
let see below simple script. Continue reading “Print JavaScript Object Using React.”
CakePHP 3 : Change Default Layout
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”
SQL : cake_expense database for cakephp 3 application development tutorial
cake_expense database for cakephp 3 application development tutorial
Tutorial link : https://www.youtube.com/watch?v=E8hnc4v-8hA
Continue reading “SQL : cake_expense database for cakephp 3 application development tutorial”
Laravel RESTful API
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”
PHP and MYSQL Month wise total summary
A simple design given below for month wise total amount fetch data using bootstrap 4. Continue reading “PHP and MYSQL Month wise total summary”
PHP date to date search.
We will do a simple code for date to date search in PHP. At first we need a design, lats make a design using bootstrap 4.
Continue reading “PHP date to date search.”
PHP Search Using Mysql
Searching data from mysql database table , at first we have to prepare simple html design. Let see below html code to create a simple search field and a table. Continue reading “PHP Search Using Mysql”
Cakephp 3 Delete multiple records.
Delete multiple records using cakephp version 3.x is very easy task. In this blog post I will give an easy example to delete multiple record using cakephp deleteAll() method. Let’s start Continue reading “Cakephp 3 Delete multiple records.”
Summation between 1-100 using c programming.
Table of content :
- Summation between 1-100
- Summation all even number between 1-100
- Summation all odd number between 1-100
- Summation all even and odd number between 1-100
Continue reading “Summation between 1-100 using c programming.”