Latest Post




How to get last executed query in PHP Codeigniter?

How to get last executed query in PHP Codeigniter?

Are you wanted to get last executed sql query in codeigniter 3 project then i will help to get last query in codeigniter. We can get last executed query using last_query() function of db class in codeigniter. It is a very simple to use $this->db->last_query() function to see SQL statements of last .....

By Hardik Savani | Views: 29766 | November 23, 2018 | Category : PHP Codeigniter

How to trigger change event of bootstrap datepicker js?

How to trigger change event of bootstrap datepicker js?

I was working on my codeigniter application and i used bootstrap 3. i also used bootstrap datepicker js on it. Same time i need to trigger change event of bootstrap datepicker on page load. i can set default date on datepicker but i have issue to trigger date change event in bootstrap datepicker. F.....

By Hardik Savani | Views: 20243 | November 21, 2018 | Category : Bootstrap


AngularJS Check Checkbox is checked or not

AngularJS Check Checkbox is checked or not

Here, i want to show you how to check checkbox is checked or not in angular js app. i will give you simple example to check checkbox is checked or not using ng-app, ng-controller, ng-model and ng-click in angularjs. it is a simple example that will help to detect checkbox is checked or not. so if y.....

By Hardik Savani | Views: 14270 | November 15, 2018 | Category : AngularJS

How to call middleware from controller in Laravel?

How to call middleware from controller in Laravel?

Do you need to call middleware from controller function in laravel app, if yes then i will show you simple example to run middleware from controller constructor using "$this->middleware". Actually, i was working on my laravel 5.7 project. I need acl and i used entrust package for role and permissio.....

By Hardik Savani | Views: 20292 | September 28, 2018 | Category : PHP Laravel

How to use Union query with Laravel Eloquent?

How to use Union query with Laravel Eloquent?

In this post, i would like to share with you how we can use union and union all query in laravel 5 application. Laravel eloquent provide query builder and they give us join, relationship, subquery and also union. But we need some time to get all records from two different table at that time you nee.....

By Hardik Savani | Views: 27565 | September 18, 2018 | Category : PHP Laravel