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 | | 791 Viewer | Category : MySql Codeigniter

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="" 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 | | 26601 Viewer | Category : PHP Laravel

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 | | 7289 Viewer | Category : PHP HTML Codeigniter

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 | | 551 Viewer | Category : Installation Ubuntu Node JS React JS

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 | | 4945 Viewer | Category : Laravel

array_map React JS Progress Bar chmod Amazon S3 Ajax Typeahead JS User Dropbox API Element Date Format AngularJS Directive Gmail virtual host Undefined Number tree view Laravel 5.4 - Markdown Mailables Bootstrap Tokenfield Plugin Ip Address Email php_ini_loaded_file Update Remember me toSql Node JS Phonegap validator.js helper Lavacharts Artisan Command Object to Array gravatar Resize Image Dropzone.js CURL Redis XML Custom Timepicker Class Letter Particular Check Paging DB::raw() Sublime text 3 Chosen JS gulp Function HTML Pagination Admin Panel Loop Draggable Recursive str_random() Environment stevebauman/location composer package Authentication JSON Lightbox Top Website Query Builder Sitemap roumen/feed package Issue Numeric Count Capitalize ANDROID_HOME Mailchimp API Namespace SMTP Local Packages Laravel 5 croppie.js Technology clearInterval() Automatically preg_match Parsley Toggle jquery.lazyload.js node.js Excel Modal Email Verification Git Scout Package Variable Magento clipboard.js Fetch length characters Array Auth Xampp bootstrap-multiselect plugin Jquery UI Data Cross Form Validation Laravel 5.4 Form Jquery Controller Subscribe php.ini Bootstrap Plugin INTERVAL Tutorial Facade Mysql Concat Setup Twitter API MVC Jquery Modal Calculate QR Code Library Zoho mail Datepicker New Features Where In Query Server Sublime text 2 Message Laravel Cashier Enable Image Gallery Flash Message KCFinder Laravel Eloquent Limit Request Method Installation API Scroll Login With FB LIKE Query Current Page Run Project enableQueryLog Frontside Validation Service Provider DB