Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.
Hi all, please see this major site announcement: https://www.boards.ie/discussion/2058427594/boards-ie-2026

Excel Embedding into Google Charts

  • 30-11-2011 07:49PM
    #1
    Registered Users, Registered Users 2 Posts: 3


    Hi folks

    Newby here - Quick question - I am trying to set up a chart via google charts that can reference an excel file - Can anybody pass me on the PHP syntax to access the Excel file

    ie - my file path is

    c:\desktop\test.xls

    Mods - If this is the incorrect location for this post please advise

    Thanks


Comments

  • Registered Users, Registered Users 2 Posts: 2,781 ✭✭✭amen


    Not a php head but I would imagine this is a little trickey. Excel stores files in MS Excel format so you will have to open the file, figure out the format, read the data and the pass to the chart.

    Could you save the file Excel as csv format (comma seperated format) if so then I believe PHP can read csv files and it should be trivial to pass the data to google charts.


Advertisement
Advertisement