Save Data to Database directly export excel in codeigniter 3 - mysql

Is it possible to save data to database mysql as well as export to Excel File through one function controller?
So, i want make menu when i click "Export Excel", so directly make excel file and Any data that is exported to excel goes to the db.

Related

How to know when an .xlsx file has been updated?

I want to export data from an excel file, but I want to know how can I listen to that event, the event of saving a file, and then, export that data into .csv and convert it to JSON and then storing that info into a web server database.
Another approach I have is set up a cron every x minutes.
Can I do this with python or I need some excel API or something like that?

how to turn a .wpress file to a .sql file and view its contents?

I want to move my wordpress database to cloud sql but I exported the wpress database as a file and its extension is .wpress. How can I change it to a .sql file and view its contents?
I'm not a WordPress developer but I might suggest you export the .wpress data to excel or better still a .csv file
View the data that way or you could import the data back to an SQL database and view from there.

SSIS: Export images embedded in Excel

I have a VB6 application that takes an Excel spreadsheet with 2 worksheets, one for data and one for images, and saves the data and exports the images to a folder.
I would like to move this to SSIS but I can't find a way to export the images to a folder.
Any ideas?
You will need to export the images to the file server and then import them.
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/00b71581-cc36-4614-b6a9-4fc13c3220fe/import-images-in-excel-file-to-sql-database?forum=sqlintegrationservices
Export pictures from excel file into jpg using VBA
http://www.sqlusa.com/bestpractices/imageimportexport/

Automatically updating a MySQL database when a new csv file is saved inside a folder

I am trying to create some sort of an event or script that detects when a new csv is saved into a folder, and then inserts the content of this csv folder inside a MySQL server.
Is this possible? If it is how can I approach this problem and what materials should I study to make this happen?
I am using .net to create applications right now and created a csv importer using OpenFileDialog() However my boss wants me automatically scrape a csv whenever a new file is saved.

Import Excel Spreadsheet to MySQL DB using VB.Net

I've got this problem of importing excel data to MySQL database. I want to create a VB.net application that allows the user to browse the excel file then click upload and automatically all the data in the excel file will be saved into the database.
I've already created a VB.net form with the browse thing and my only problem is the saving of the data. Can someone help me please.. thanks..
Store Excel file as comma separated text - CSV file.
Import data using LOAD DATA INFILE.