Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Oct 2007
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Export Data from excel to HTML web page

    Hi,
    I want to export data from excel spreadsheet to the HTML tables i have used in my web page. So when i enter data in my spreadsheet, some script has to read those data and needs to update in my table present in web page. Excel will not be shown to the end user. Excel acts like database for the presentation layer.

    Is it possible to do with java script or php???

    Thanks,
    Hariharan R.

  • #2
    Senior Coder effpeetee's Avatar
    Join Date
    Feb 2007
    Location
    Clapham Junction - London SW
    Posts
    4,885
    Thanks
    228
    Thanked 204 Times in 203 Posts
    * Sources (updated: 21.11.2012.
    Using Windows 8 Professional. 64bit with HP Photosmart 5510 printer Very useful site here.

  • #3
    Regular Coder
    Join Date
    Jun 2004
    Posts
    495
    Thanks
    0
    Thanked 82 Times in 80 Posts
    Better done with PHP, but the principle is basically the same.
    Export the sheet to a .csv file, then have a php script read the file into an array which can be outputted as a table.
    For JavaScript you would have to convert the .csv file to a JavaScript array.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •