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 fetch this week records in MySql ?

If you require to get all the records of current week using mysql query. for example you have one table "items" and columns are id, title, description, created_at and update_at, Now you want to get all records of this week. so you can fetch fields value using DATE_SUB and INTERVAL of mysql. In following example you can see how to select data of current week. <strong>Example</strong> <pre class="language-mysql">SELECT * FROM items WHERE created_at > DATE_SUB(NOW(), INTERVAL 1 WEEK);</pre>

By Hardik Savani | February 28, 2016 | | 6761 Viewer | Category : PHP MySql
READ MORE

How to remove empty values from array in PHP?

you have array with empty value and you want to remove all empty value from that array without loop. you can remove your all empty value from array without loop. PHP array_filter function through you can remove all empty value, you can do both way try and see following example how to do this : <strong>Example:</strong> <pre class="language-php"> $example = array(100, "hari", "","hey", "", 77, "hello"); $result = array_filter($example, function($value) { return !empty($value); }); print_r($result); <br/> $resultDirect = array_filter($example); print_r($resultDirect); </pre> <strong>Out.....

By Hardik Savani | February 28, 2016 | | 5775 Viewer | Category : PHP
READ MORE

How to revoke 'git add' before 'git commit' ?

Sometimes you need to undo your git file before you git comment command. Because you made a some misteck or wrong code and you did git add using "git add ." command then you think how to undo your code before git commit command. But you can do that using git reset command, if you need to undo all file Or you may need to undo just one then you can do using git reset command, you can see bellow command. <strong>Example:</strong> <pre> // For Spesific file git reset <filename> // For all files git reset </pre>

By Hardik Savani | February 28, 2016 | | 1434 Viewer | Category : Git
READ MORE

How to create laravel 5 widgets ?

In this post you can learn how to create your own widgets in laravel 5.2, First thing why we are create widgets, So we can use widget because when we can create re-usable code, for example you have manu items and comes from database like home, items, products, aboutus, contact us etc. you require to display in top header, in sidebar and in footer. But in top you have to just display home and aboutus, and in sidebar products and items same that way in footer. So, basically you have to display in three place in your site page. widgets through you can make one function or view and call just one w.....

By Hardik Savani | February 27, 2016 | | 14370 Viewer | Category : Laravel Pingpong
READ MORE

How to get ckeditor value with tags on ajax-submit ?

If you are use ckeditor for textarea and you need to fore ajax submit or form js submit, but you can't find ckeditor value in your controller or php file. So, first you have to update field using CKEDITOR.instances. so you can try to following code. <pre class="language-javascript"> for ( instance in CKEDITOR.instances ) CKEDITOR.instances[instance].updateElement(); </pre>

By Hardik Savani | February 26, 2016 | | 3400 Viewer | Category : PHP Javascript jQuery
READ MORE


Ubuntu 14.04 Allow Key Login With FB bootstrap tagsinput Magento Ionic framework laravel-elixir Element mod_rewrite Amazon S3 Vue.JS User Agent league/flysystem-dropbox Auth roumen/sitemap Scroll Thumbnails Rewrite summernote ixudra/curl composer package Sublime Links Zoho mail Export strpos SUM() Opencart ANDROID_HOME encrypter Form Jquery Multi Auth Query Laravel 5.3 tree view Middleware GET Ajax jquery.email-autocomplete.min.js Express Laravel 4 csrf_token Scratch Count away() Animate Fetch Resize Image yajra/laravel-datatables-oracle Data datatables Mailgun API Socket.io Service Provider Website Object to Array JWT ajaxStart Date Format Capitalize basename() select box search ZipArchive Validation Control Server croppie.js SweetAlert Plugin XSS Dynamic Dependant Dropdown SUBSTRING_INDEX() sven/artisan-view package Laravel webpatser/laravel-uuid API Environment Dialog box Email Verification Listener unicodeveloper/laravel-password Flash Message Calculate Subscription lowercase toastr js word-wrap bplist-parser Bootstrap Star Rating Plugin filesize() MySQL Subquery POST Ajax voyager package Foreach Class CASE_LOWER Run Project Recursive enableQueryLog 404 error page Local Chart.js read more Database Seeder XML Behance API Search pngquant Paging Cordova Eloquent-Sluggable Package Draggable Typeahead JS Origin Failed MVC Custom array_map Blocked Particular Chart gulp no-captcha whitespace Axios refs Determine Top WHERE Query intervention/image Sql FIND_IN_SET() Google Chart PHPUnit Trans Helper Add More JQuery RSS Feed Mysql Concat Lightbox Modal Function Dropzone.js Components & Slots Executed Letter Inserted Id Month Update typed.js plugin Multiple New Features Timepicker