Tag : Multiple

ItSolutionStuff.com have tutorials for Multiple tag, here you can study articles of Multiple tag, Multiple tag posts collection, most popular and useful tutorials of Multiple tag, here you can find list of all relevant posts and example about Multiple tag, we have lists of tutorials and examples about Multiple tag. very simple and quick example collection of Latest Multiple tag.



Multiple Database Connection in PHP Codeigniter 3

Today, I want to share with you how to connect multiple databases in PHP CodeIgniter 3 application. it is very easy to configure multiple databases in CodeIgniter app. you can simply add database query, join etc with multiple databases. As we know well, in today we may need to add multiple databases on our application. all then framework provides multiple database connections. Codeigniter also provide multiple database connections in a single app. We have to simply add database configuration array to database.php file. Then we can simple load specific database data by using "$this->load->dat.....

By Hardik Savani | February 27, 2018 | | 13485 Viewer | Category : PHP MySql Codeigniter
READ MORE

PHP Ajax Multiple Image Upload with Preview Example

Today, i would like to share with you multiple image upload with preview using jquery ajax in PHP. This Tutorial will help to learn JQuery Ajax multiple images upload example in PHP with demo. demo of display selected multiple images preview. Sometime, we may need to add feature for multiple images upload. If you are new in core PHP or don't know how to do it then you are a right place. Here i will give you full example of multiple images upload with display preview of selected images. So don't worry and just follow bellow two files. In this example, i simple create two files as there are li.....

By Hardik Savani | December 31, 2017 | | 48639 Viewer | Category : PHP Javascript Bootstrap jQuery Ajax
READ MORE

Codeigniter multiple drag and drop image upload example from scratch

Today i would like to share with you drag and drop image upload using dropzone.js in codeigniter application. We always require to make multiple file or image uploading function in our web application or project. We use input with multiple with image upload but it's not looks great and user does not like pretty much, so we should make it better. Image uploads is very basic feature for all project or website, But if you are working on PHP or any PHP framework like laravel, codeigniter, yii etc then you can simply use dropzoneJS library. dropzone.js is an open source js library that you can s.....

By Hardik Savani | June 11, 2017 | | 40271 Viewer | Category : PHP Bootstrap jQuery Codeigniter Ajax
READ MORE

Laravel 5 - Multiple markers in google map using gmaps.js

Today, we learn how to implement google map with multiple marker using gmaps.js library in Laravel 5. We can also simply use google map API for maps, But gmaps.js is very popular and they provides very simple way to generate google map. gmaps.js through we can make multiple markers, make routes, Geocoding, Map events etc. In this example i use multiple markers example. If you are beginner then also you can do it simply following post, i did this example from scratch. So, After finish all tutorial you will find layout as bellow: <strong>Preview:</strong> <img src="/upload/laravel-5-gmaps.png.....

By Hardik Savani | September 30, 2016 | | 74275 Viewer | Category : PHP Laravel Google Map Google API
READ MORE

Bootstrap - Jquery multiple select with checkboxes example using bootstrap-multiselect.js plugin

Today, i going to give you example of multiple select dropdown with checkbox that way user can select multiple check boxes using bootstrap-multiselect.js plugin of bootstrap jquery. Bootstrap have a lots of plugin like for datepicker, colorpicker, select with search etc. you can integrate easily with your bootstrap project, even if you are working on code PHP, laravel framework, codeigniter framework, symfony framework or etc other framework of PHP. bootstrap-multiselect.js provide us also multiple select with search and radio button etc. In this example i did give select drop down box of it .....

By Hardik Savani | August 17, 2016 | | 229550 Viewer | Category : Javascript Bootstrap HTML jQuery
READ MORE

How to check file size when select multiple file validation using Jquery?

Sometimes we require to add validation of max file size using jquery, If we have only single file for validation then we can do it easily that, but if we have multiple file then you have to calculate size of all selected files and then check max required file size. So, in this example you can see how to check validation for max size in multiple file select using jquery. <strong>Example:</strong> <pre class="prettyprint lang-html"> <html lang="en"> <head> <title>Jquery - multiple image upload with size validation</title> <script src="http://ajax.googleapis.co.....

By Hardik Savani | June 15, 2016 | | 37531 Viewer | Category : Javascript jQuery
READ MORE

How to insert multiple records in Laravel 5?

If we work on big project and then we maybe require to add multiple rows on database using laravel eloquent. Laravel provide insert method for bulk records create on db. In bellow example you can see i use multidimensional $myItems array variable and that insert multiple records same time using DB::insert(). So let's see and try this. <strong>Example:</strong> <pre class="prettyprint lang-php"> $myItems = [ ['title'=>'HD Topi','description'=>'It solution stuff'], ['title'=>'HD Topi 2','description'=>'It solution stuff 2'], ['title'=>'HD Topi 3','descriptio.....

By Hardik Savani | June 13, 2016 | | 45823 Viewer | Category : Laravel
READ MORE

How to group by multiple columns in Laravel Query Builder?

Sometimes we may require to add group by with multiple columns, if we have mysql query then we can do it easily by using sql query. But if you want to give multiple columns in groupBy() of Laravel Query Builder then you can give by comma separated values as bellow example. <strong>Example:</strong> <pre class="prettyprint lang-php"> $data = DB::table("items_count") ->select( 'items_count.*' ,DB::raw("SUM(items_count.quantity) as total_quantity")) ->groupBy('items_count.id_item','items_count.id_cat') ->get(); print_r($data); </pre>

By Hardik Savani | June 12, 2016 | | 45131 Viewer | Category : Laravel
READ MORE

Laravel 5 - multiple files download with response example

If you need to give to download multiple files response from out application. If you require to give download only on file then you can do it easily like this way: <pre class="prettyprint lang-php"> return response()->download(public_path('myimage.jpg')); </pre> But if you need to give multiple images files or docs etc then you can't do it this way: <pre class="prettyprint lang-php"> return response()->download([public_path('myimage.jpg'),public_path('myimage2.jpg')]); </pre> But you must have to create single zip file or something. So first you need to use zipper package, i added zipp.....

By Hardik Savani | May 14, 2016 | | 30850 Viewer | Category : Laravel
READ MORE

Multiple database connections in laravel 5 Application

you can set multiple database connections in same laravel application. Laravel provide configration file for setup multiple database connections. you can see config/database.php file and see mysql multiple database connections. you can add setting another mysql database detail like this way: <strong>config/database.php</strong> <pre class="prettyprint lang-php"> return [ <br/> 'fetch' => PDO::FETCH_CLASS, <br/> 'default' => env('DB_CONNECTION', 'mysql'), <br/> 'connections' => [ 'sqlite' => [ 'driver' => 'sqlite', 'database' => database_path('data.....

By Hardik Savani | May 8, 2016 | | 26106 Viewer | Category : Laravel
READ MORE