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 use DB transactions in laravel 5?

First, Let's undestand why we are use transactions in laravel project. But db transactions is very important concept and very usefull because it securely manage. laravel 5 also provide to transactions commit, rollback etc functions. How to use transactions in my project, so I an going to give you one example, I have a three table "items", "items_city" and "items_count" and i need to add new row same time and "items" table is a main table then "items_city" and "items_count" is a child table of "items" table. so bassically why we nee to use transactions because if when i was add new records in d.....

By Hardik Savani | March 6, 2016 | | 7473 Viewer| Category : PHPLaravel

Angular $scope.form value undefined on submit in ionic framework.

When i was working first time in ionic framework with search module. i fetch one issue i can't get ng-model value in angular js controller on submit form. i was try like $scope.form because if you work on angular JS before then you can get all post data using $scope.form directly, But i try with bellow form and try to get that way but i always find undefined value on form, But at last i found how to solve this issue. you can see bellow example and find your solution.<strong>Form</strong><pre class="prettyprint lang-html"><form method="POST" name="searchForm" ng-submit="search()"> &l.....

By Hardik Savani | March 5, 2016 | | 7178 Viewer| Category : jQueryAngularJSIonic Framework

PHP Image upload without refreshing page using jquery example

In this post i show you how to image upload without page reload using jquery ajax. jquery ajax through you can upload image and store record into database in php. i use jquery.form plugin for image uploading. So you can do by following few step of file uploading ajax jquery.<strong>Preivew</strong><img width="100%" style="border:2px solid red" src="/upload/imageupload.png"><br/>First you have to create index.php file as i do in following file, so create index.php file and put bellow code.<strong>index.php</strong><pre class="code language-html"><html lang="en"><head><ti.....

By Hardik Savani | March 4, 2016 | | 26243 Viewer| Category : PHPJavascriptjQuery

How to create middleware for XSS protection in laravel 5?

XSS(Cross Site Scripting) protection must need in your site because if you do not XSS protection then your site is not secure. XSS filter through you can remove html tag from your input value and it is very important to remove html tag for security. in your laravel 5.2 application you can implement by using middleware concept in your project. so how to create XSS filter middleware in your laravel application by using following step.First fire following command and create middleware:<strong class="step">Create Middleware</strong><pre>php artisan make:middleware XSS</pre>Now, you can see new.....

By Hardik Savani | March 4, 2016 | | 12769 Viewer| Category : PHPLaravel

How to generate random alphanumeric string in PHP?

In this example i am going to show you how to generate randomly alphanumeric string OR number in PHP. when you need you generate random alphanumeric string for your unique field then you can easily create using substr(), md5(), rand(), uniqid(), mt_rand(), time() and str_shuffle() php function you can create several way unique code using following example:<strong>Example</strong><pre class="language-php">Example 1$generated = substr(md5(rand()),0,5);print_r($generated);<br/>Example 2$generated = rand(10000,99999);print_r($generated);<br/>Example 3$generated = substr(md5(uniqid(rand(.....

By Hardik Savani | March 4, 2016 | | 4040 Viewer| Category : PHP

virtual host Trigger Script Exists Express PHP artisan Log Activity API parse Loading MassAssignmentException 500 error page Service Provider milon/barcode Nodejs HTML to PDF Grayscale Image Ajax bootstrap-growl Sublime text 3 Dialog box Confirm Box Homepage MVC ACL Tag Manager plugin IP Timepicker Cross Value Stripe Function Last Dropzone.js xoxco tags input Bootstrap Tokenfield Plugin Switchery JS Cache maatwebsite Animation Instagram API datatables meta http-equiv tag hasColumn Pagination Ip Address Eloquent-Sluggable Package php_ini_loaded_file Progress Bar Plugins slice() Master Opencart Subscribe Mediafıre API pngquant Send Installation Technology Tutorial Data Parsley XSS Laravel 5.3 Remote timestamps Magento Paging Database Base URL npm DB Limit Issue Each Connection stevebauman/location composer package Multiple clearInterval() Datetimepicker Toggle Gmail jquery.lazyload.js intervention/image Middleware Server nl2br Billing PHP Jquery Dialog Box Links KCFinder Protection csv Upgrade Git Location Mailgun API Login With FB Node JS socket split Download Popup Box bootstrap-progressbar.js WHERE Query clipboard.js Typeahead JS scrollTop groupBy() no-captcha Codeigniter 3 Bootstrap maxlength plugin New Features colorpicker refs enableQueryLog Recursive React JS Update Artisan Command Commit Migration Terminal Moment JS Dynamic Dependant Dropdown HTML Axios adminer Database Seeder Sort toSql croppie.js phpword Demo PHPExcel length Laravel 5.2 is_null Scout Package Language Fullcalendar JS Application Library Highchart Jquery Plugin After Elasticsearch max_file_uploads Special