It Solution Stuff provide collection of tutorials about PHP, Laravel Framework, Codeigniter Framework, Mysql Database, Bootstrap Front-end Framework, Jquery, Node JS, Ajax Example, APIs, CURL Example, Composer Packages Example, AngularJS etc. You will find best example and article about PHP Language. So you can also search tutorial from bellow search box.

Latest Post

How to get max attribute value in jquery?

Sometimes, you have a many tag with same class and attribute with value, but you need to find maximal value of attribute from that comman class, In bellow you have same html tag: <pre class="code language-html"> <ul> <li class="test" data-id="3">hi</li> <li class="test" data-id="5">hey</li> <li class="test" data-id="1">hello</li> </ul> </pre> Now, you require to get max value, i mean you need to 5, because that is big value from other, so you can get maximal value from this way: <pre class="language-javascript"> var max = 0; $('.test').each(fu.....

By Hardik Savani | February 23, 2016 | | 2056 Viewer | Category : Javascript HTML jQuery

Codeigniter Angularjs http post not working

Sometimes, you face problem you can't get post data using $this->input->post(), when you fire $ using AngularJS or Jquery. I also face this issue, i can't receive post value when i fire $ in AngularJS, But i found how to receive post data or json data in Codeigniter controller. in following example through you can solve your problem: <pre class="language-php"> public function store() { $this->load->database(); $_POST = json_decode(file_get_contents('php://input'), true); $posts = $this->input->post(); $this->db->insert('posts', $posts); } </pre>

By Hardik Savani | February 22, 2016 | | 3986 Viewer | Category : PHP jQuery AngularJS Codeigniter

Codeigniter 3 and AngularJS CRUD with Search and Pagination Example.

In This tutorial i want to show you how to create CRUD(Create, Read, Update, Delete) using AngularJS in Codeigniter. I added few step to create create, edit, delete, lists, search and pagination application in your Codeigniter framework. In this tutorial through you can make simple crud, search and pagination module and easily use in your codeigniter project. I am going to show preview of items module that we will do using angularJS and Codeigniter 3. <strong>Preview:</strong> <img src="/upload/code-angular.png" width="100%" style="border:2px solid cadetblue" /> <strong class="step">Step 1: C.....

By Hardik Savani | February 21, 2016 | | 258553 Viewer | Category : PHP Codeigniter AngularJS

How to convert one time zone to anothor time zone

Some application required one time zone to convert another time zone. PHP provide some readymade timezone conversion classes but it a very complecated. so we have try to define this function simple way. You can createe a simple class and write one function into the class. then you able to use this function everywere. <pre class="language-php"> class convertTimezone { function convert_timezone() // Constructor of the class { } function converToTime($conv_fr_zon=0,$conv_fr_time="",$conv_to_zon=0) { //echo $conv_fr_zon; $cd = strtotime($conv_fr_t.....

By Hardik Savani | February 17, 2016 | | 1367 Viewer | Category : PHP Laravel

How to remove query string from URL using JQuery

<strong>Why remove query strings?</strong> Main two reasons for this. 1. Clear URL alwaya look better than the long URL 2. When you are not remove your query string from URL. then all get variable show in you URL string. sometime it not good for a security You can remove your query string using this simple Jquery code. <pre class="language-javascript"> $(document).ready(function(){ var uri = window.location.toString(); if (uri.indexOf("?") > 0) { var clean_uri = uri.substring(0, uri.indexOf("?")); window.history.replaceState({}, document.title, clean_uri); } }); </pre>

By Hardik Savani | February 17, 2016 | | 10806 Viewer | Category : jQuery

Add More JQuery Blade inject jquery.lazyload.js Sublime text 3 toArray() Hard Artisan CURL Export Control thujohn/twitter package Chart csrf_token thomaswelton/laravel-gravatar Master Character Search API Remove Mysql Concat QR Code Enable Mailchimp API Twitter Bootstrap Laravel Resource ngclipboard.js Current Value GuzzleHttp away() roumen/sitemap hasColumn date_format() Fetch Local phpword Array split Socialite View Dialog box whitespace Attribute WHERE Query First asgardcms Attr Modular Opencart npm DATE_SUB Allow Upgrade bootstrap-progressbar.js Import Bootstrap Notify Plugin strtolower Function CRUD sven/artisan-view package response() Form Validation Global Variable CORS Request Custom Command Automatically Jquery UI max_file_uploads Letter node.js Dropzone.js Jquery Modal Twitter OAuth Trigger Collapse Check Image Upload Email Verification GET Ajax league/flysystem-dropbox Cache voyager package Autocomplete X-editable Plugin PHP ACL Laravel Factory Plugins Join JWT gravatar roumen/feed package groupBy() Limit AngularJS milon/barcode Datepicker Package Login With FB PayPal Pixel Typeahead JS Object to Array orderBy Parsley Bootbox.js Installation Scout Package Nodejs Library File Upload Repository Pattern Amazon S3 PHP artisan AngularJS Filter Sendgrid Validation bootstrap-multiselect plugin refspec Localization HTML to PDF datatables ANDROID_HOME String Bootstrap Plugin Namespace MySql Toggle Date Format Specific Moment JS clockface plugin SMTP Convert Capitalize refs Delete Select Top Composer Run Project Query str_random() meta http-equiv tag Bootstrap-lightbox Plugin ppa Old filter_var Generate