Latest Post

How to get last inserted id in Codeigniter?

Sometimes, we require to get last insert record id from database in controller, so in this example we will learn how to get last inserted row id in Codeigniter 3 project. It's very often need to get last insert id in programming field, if you are working on Codeigniter framework and you want to fetch last created id, i mean max id, then you do easily.Codeigniter provide method insert_id() to get last inserted id. insert_id() is function of "db" library. db library provides several function for connecting database task. insert_id() will return id of last inserted record. So here i give contro.....

By Hardik Savani | February 28, 2017 | | 66 Viewer | Category : MySql Codeigniter
READ MORE

Laravel 5 - Simple user access control using Middleware

We always require to built user access control in our application, when we start. I posted <a href="http://itsolutionstuff.com/post/laravel-52-user-acl-roles-and-permissions-with-middleware-using-entrust-from-scratch-tutorialexample.html" target="_blank">User ACL Roles and Permissions using entrust</a> for laravel 5 application. But as you can see on my post it is very useful and fantastic, But if you have big application or like e-commerce application. Because User ACL is take a time to implement. Yes, if you have small or medium level application and you don't require to make permission with.....

By Hardik Savani | February 26, 2017 | | 4446 Viewer | Category : PHP Laravel
READ MORE

Codeigniter 3 - Generate PDF from view using dompdf library with example

In this tutorial, i am going to share with you how to create pdf file from html view using dompdf library in Codeigniter 3 application. We will integrate dompdf library from scratch so no issue if you don't know about dompdf library. We generally require to generate PDF for invoice, data, information, subscription etc. If you use any PHP framework like laravel, code php, yii etc then you have option to other package for generate HTML file into PDF. But if you are working on Codeigniter then you fetch problem to how to do it. But in this article i am going to give you very simple example to ht.....

By Hardik Savani | February 26, 2017 | | 1622 Viewer | Category : PHP HTML Codeigniter
READ MORE

Solved Issue - "/usr/bin/env: ‘node’: No such file or directory"

<br/> In this post i want to share one issue that i fetch. When i started working on my react js project first time on my ubuntu 16.04, i installed npm and then after i run bellow command: <pre> npm install -g create-react-app </pre> this way i installed create-react-app then after i created new command using create-react-app commands, so i run bellow command for create new app of reactjs. <pre> create-react-app hello-world </pre> But when i run above command i found one error <strong>"/usr/bin/env: ‘node’: No such file or directory"</strong>. I thought what will be issue, i searched on go.....

By Hardik Savani | February 24, 2017 | | 159 Viewer | Category : Installation Ubuntu Node JS React JS
READ MORE

Laravel 5 - Example of Database Seeder with insert sample data

We should know what is database seeder in laravel and why we should use before start example of database seeding. Laravel provides a tool to add sample or dummy data to our databases automatically. that is call it database seeding. Laravel database seeder through we can add simply testing data on our database table. Database seed is extremely useful because testing with various data allows you to likely detect bugs you otherwise would have overlooked. We have to simple make one time seeder with some dummy data, that way we can simply reuse when you deploy project first time. We can make seede.....

By Hardik Savani | February 23, 2017 | | 1898 Viewer | Category : Laravel
READ MORE


Mail php_ini_loaded_file PostgreSQL AngularJS Directive Delete Botdetect Captcha Last bootstrap-multiselect plugin Laravel Builder Toggle Notification Autocomplete toSql Behance API gulp User Agent Query Builder ngclipboard.js Ip Address croppie.js Determine guzzle http client IP thomaswelton/laravel-gravatar Automatically validator.js Current Solve clearInterval() Technology Controller Prompt modal URL Record bootstrap-growl Reset Null ID Application Typeahead JS filter_var array_change_key_case Backup User stevebauman/location composer package Collapse str_random() Service Provider Fetch whitespace google recaptcha code word-wrap GuzzleHttp Dialog box timestamps Chart.js Remove Switchery JS Multiple Accordion Hard Connection chmod Xampp setInterval() Force Tutorial socket Components & Slots DB::raw() Letter COUNT() Search softDeletes Module WHERE Query Google Map Foreign Key Repo dompdf Local Scout Package Cache CloudConvert API Scroll JS Master RAND() PHPUnit yajra/laravel-datatables-oracle Bootbox.js Contact US Form Progress Bar Parsley scrollTop Custom Ubuntu 14.04 Sublime text 2 Email Verification php artisan serve FILTER_VALIDATE_URL oauth Excel Ckeditor Bootstrap maxlength plugin Inserted Id Send Command CORS length Access File String Month Object to Array Ubuntu ppa Mysql Concat Cordova Stripe Strings hasTable hasColumn Append Bitbucket Express Composer intervention/image getQueryLog Language React JS Highlight JS Resize Image lowercase Loading Sql node.js Validation Exists Mediafıre API Convert Failed toastr js Version no-captcha Ionic framework Pagination Laravel 5.3 Cross Login With FB