As we can send form data of HTML to excel.But how to use this stored excel data in HTML forms. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

As we can send form data of HTML to excel.But how to use this stored excel data in HTML forms.

we can add data to excel by using HTML but how we can use this stored data as our form data.please some one help me.

30th Oct 2017, 3:40 PM
Anshuman lakkad
Anshuman lakkad - avatar
7 Answers
+ 7
@Deepak, sure, if you use Node.js for the backend, there are a couple of libraries for doing this: js-xlsx and js-xls
31st Oct 2017, 4:27 AM
Pao
Pao - avatar
+ 6
@Deepak always a pleasure 😊👍
31st Oct 2017, 4:30 AM
Pao
Pao - avatar
+ 5
If you're planning on using an Excel file as your database then you'll need to handle it on the server side with PHP to connect your website with it, then with SQL you'd pull out the information you want from the Excel database and then make PHP output the result with HTML tags. There are lots of tutorials on the internet for doing this, for instance: http://smallbusiness.chron.com/populate-website-excel-database-43872.html
31st Oct 2017, 3:44 AM
Pao
Pao - avatar
+ 5
@Deepak hmm, well PHP would be my first option in this case but another way I can think of is getting the data out from the Excel file using Python (with packages like pandas, xlwings, openpyxl, etc) and then write this data into an SQL database ☺
31st Oct 2017, 4:13 AM
Pao
Pao - avatar
+ 4
@Paola i try to aplly your advise. Thx thx thx!
11th Nov 2017, 4:43 AM
Vitalij Bredun ♡ Python Petersburg
Vitalij Bredun ♡ Python Petersburg - avatar
+ 3
Convert your web files using electron to desktop app, the software would be able to fetch local file then.
31st Oct 2017, 9:03 AM
Calviղ
Calviղ - avatar
+ 1
As we can feed data to excel by html without php.Then It is possible to use that stored data without using php
31st Oct 2017, 12:20 PM
Anshuman lakkad
Anshuman lakkad - avatar