Table of Contents
This is a php script which will allow you to import your excel sheet into the mysql DB
Here's why:
- Time effecient
- No need to recreate the wheel
- Will be secure
This section should list any major frameworks/libraries used to bootstrap your project. Leave any add-ons/plugins for the acknowledgements section. Here are a few examples.
By following the instructions you can run the script on your machine
Before installing the script you need some external dependencies on your machine
- php extentions
sudo apt install php-zip php-xml
-
Clone the repo
git clone https://github.com/S4F4Y4T/PHP-Excel.git
-
Change folder and files permissions
sudo find "Your project directory" -type f -exec chmod 644 {} \; sudo find "Your project directory" -type d -exec chmod 755 {} \;
-
Give the root folder permission to upload
-
Create and import the excel.sql into mysql DB
-
Open config.php and change the db information accordingly
After running the script on your apache server got to the project location and you'll see an upload input there choose the example.xlsx file and hit import then all your excell info will be parsed into mysql table
Distributed under the MIT License. See LICENSE.txt
for more information.