Magento 2: Insert Multiple Rows into Database Table

This article shows how you can insert multiple rows or records into your database table. Generally, we add a single row of data into the database table. However, we have situations where we need to insert multiple rows of data into the table at once. We can do so by running the insert query multiple … Read more

Magento: Setup Multiple Website

This step-by-step tutorial will guide you to create multiple websites in Magento. I suppose that Magento is installed in the website’s root folder. Let’s assume the website URL to be your-website.com. Magento is already installed in your-website.com. Now, we will be setting up for new website from Magento admin. Let our new website be your-new-website.com. … Read more

Multiple file upload using jQuery and PHP

This tutorial shows how easy it is to upload multiple files using jQuery and PHP. I have used jQuery MultiFile Plugin for this purpose. The input type file should have name in list format like “pic[]” and the class name of the input should be “multi”. <input type="file" name="pic[]" class="multi" /> Below is the complete … Read more