Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > Moderated Pro PHP
|
Moderated Pro PHP This is a moderated forum for discussing advanced, professional level issues with PHP. Your posts will not appear until a moderator approves them. Posts that are not the right level for this forum will be responded to and you'll be asked to post them in the [url="http://p2p.wrox.com/sql-server-2000-20/9"]Beginning PHP[/url] forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Moderated Pro PHP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 8th, 2005, 03:30 AM
Registered User
 
Join Date: May 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Popullate an html table with data from excel sheet

hi,
how can we popullate an html table with data in an excel sheet,is there any method to do that

Thank You
Jerry
 
Old June 14th, 2005, 03:41 PM
Friend of Wrox
 
Join Date: Jul 2003
Posts: 142
Thanks: 0
Thanked 2 Times in 2 Posts
Default

There is an odbc driver for excel. You can try to use this along with the odbc functions in php http://www.php.net/manual/en/ref.uodbc.php, although I don't think the excel driver is supported. Obviously your web server would have to be a windows machine as well, because a linux one won't have the excel odbc driver! Your other options would be:

1) Save the excel file as a dbase file - php can read these
2) Save the excel file as a csv file - you could then parse this
3) Write/find and download a COM component that will allow you to give SQL queries for the excel file. Something like this would be pretty easy to write in VB6/VB.Net

 
Old June 16th, 2005, 01:23 AM
Registered User
 
Join Date: May 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

thanks for the replay

I can't use odbc driver for excel because we are using linux server.i had found out a package which helps to read the excel sheet and extract the data,from following url we can download the package

http://prdownloads.sourceforge.net/p...r.zip?download

Jerry






Similar Threads
Thread Thread Starter Forum Replies Last Post
Export data from a datalist to an Excel sheet see07 ASP.NET 1.x and 2.0 Application Design 3 February 23rd, 2007 07:20 PM
Insert Excel sheet content into Access table from stepdev Access VBA 2 December 8th, 2006 04:18 PM
Exporting data to excel sheet x_ray VB.NET 2002/2003 Basics 0 January 6th, 2006 03:14 PM
Open Excel Sheet in HTML pankajm HTML Code Clinic 1 January 3rd, 2006 04:18 PM
reading data from excel sheet rajiv_software Classic ASP Basics 2 April 30th, 2005 01:03 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.