Import Excel into PHP

This is a discussion on "Import Excel into PHP" within the PHP Forum section. This forum, and the thread "Import Excel into PHP are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > PHP Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Jul 19th, 2006, 12:57
SuperMember

SuperMember
Join Date: Jul 2005
Location: Reading
Age: 44
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Import Excel into PHP

I'm just in the process of setting up an English Football Club website.

The website will carry all the usual things, which includes a league table.

We've got an Excel spreadsheet working out the league table. It works by entering the results into a grid, which then works out the league table, giving P W D L F-A Pts (home and away).

What I now need to do is to get the league table into a webpage the easiest way possible.

The website will be Content Management based.

I won't be updating the table myself, so I want to be able to set it up so that one of the club officials can enter the scores into the spreadsheet and the worksheet with the League table on will be imported into a webpage.

The club officials won't have any web knowledge.

1. Ideally I would like to be able to host the spreadsheet online, so that a number of different people can update the spreadsheet online. I then need to make it simple for them to export the spreadsheet result into the webpage.

2. Worst case scenario, would be for one person to update the spreadsheet, and then save and upload the appropriate worksheet in CSV format.

I would prefer to use option 1 if possible.

Either way, any help or suggestions would be gratefully received.


Regards

Andy
Reply With Quote

  #2 (permalink)  
Old Jul 19th, 2006, 15:03
spinal007's Avatar
Moderator
Join Date: Mar 2004
Location: Good Ol'London
Age: 22
Posts: 1,620
Blog Entries: 1
Thanks: 0
Thanked 2 Times in 2 Posts
Send a message via ICQ to spinal007 Send a message via MSN to spinal007 Send a message via Yahoo to spinal007 Send a message via Skype™ to spinal007
Re: Import Excel into PHP

Number 1 is difficult, number 2 isn't ideal.

Your best option is to re-create the functionality of the spreadsheet using a database and a few simple queries... Then it's easy to set up the CMS to enter data into the database.
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
Reply With Quote
  #3 (permalink)  
Old Jul 19th, 2006, 15:03
Most Reputable Member
Join Date: Aug 2005
Location: North Wales, United Kingdom
Age: 21
Posts: 1,093
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to sypher
Re: Import Excel into PHP

Wouldnt it be easier to store the results in a db?
Reply With Quote
  #4 (permalink)  
Old Jul 19th, 2006, 15:06
spinal007's Avatar
Moderator
Join Date: Mar 2004
Location: Good Ol'London
Age: 22
Posts: 1,620
Blog Entries: 1
Thanks: 0
Thanked 2 Times in 2 Posts
Send a message via ICQ to spinal007 Send a message via MSN to spinal007 Send a message via Yahoo to spinal007 Send a message via Skype™ to spinal007
Re: Import Excel into PHP

great minds think alike... ... at the exact same time! LOL
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
Reply With Quote
  #5 (permalink)  
Old Jul 19th, 2006, 15:07
Most Reputable Member
Join Date: Aug 2005
Location: North Wales, United Kingdom
Age: 21
Posts: 1,093
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to sypher
Re: Import Excel into PHP

hehe yep
Reply With Quote
  #6 (permalink)  
Old Jul 19th, 2006, 15:14
SuperMember

SuperMember
Join Date: Jul 2005
Location: Reading
Age: 44
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Import Excel into PHP

Quote:
Originally Posted by spinal007 View Post
Number 1 is difficult, number 2 isn't ideal.

Your best option is to re-create the functionality of the spreadsheet using a database and a few simple queries... Then it's easy to set up the CMS to enter data into the database.
Thanks, that sounds promising, but I will need some help with this.

If it helps the CMS being used will be e107.
Reply With Quote
  #7 (permalink)  
Old Jul 19th, 2006, 15:23
Most Reputable Member
Join Date: Aug 2005
Location: North Wales, United Kingdom
Age: 21
Posts: 1,093
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to sypher
Re: Import Excel into PHP

Ok its time to get off the CMS and start doing some original work

Your gonna need to learn php/mysql functions.

Theres loads of tutorials out there, heres just one random
http://www.phpdig.net/ref/rn41.html
Reply With Quote
  #8 (permalink)  
Old Jul 19th, 2006, 17:39
spinal007's Avatar
Moderator
Join Date: Mar 2004
Location: Good Ol'London
Age: 22
Posts: 1,620
Blog Entries: 1
Thanks: 0
Thanked 2 Times in 2 Posts
Send a message via ICQ to spinal007 Send a message via MSN to spinal007 Send a message via Yahoo to spinal007 Send a message via Skype™ to spinal007
Re: Import Excel into PHP

Yep, you're gonna need a custom made solution...
I recommend you only use other CMS as reference while you develop your own. It's the more difficult option but you'll be a better programmer and make more money in the end...
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
Reply With Quote
  #9 (permalink)  
Old Jul 19th, 2006, 21:44
Most Reputable Member
Join Date: Apr 2006
Location: Cornwall, UK
Posts: 1,310
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Skype™ to ukgeoff
Re: Import Excel into PHP

Don't know if it's the kind of solution you are looking for but if you use this search criteria in Google;

+excel +web +conversion

you will find some useful Excel to html conversion tools.

Some of which even provide you with a web based interactive spreadsheet.
Reply With Quote
  #10 (permalink)  
Old Jul 20th, 2006, 12:32
masonbarge's Avatar
Highly Reputable Member
Join Date: Jan 2006
Location: Atlanta GA
Posts: 631
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Import Excel into PHP

Well. to sum up:

The best way is to program a php/database page. Then all someone would have to do is pull up an online form, fill it in, and hit submit.

The easiest way on the front end is just to translate the spreadsheet to html. There are cheap commercial programs to do this ($20)-- just buy one and set it up. However, the process of editing the webpage would involve using the software, so the people editing the page are going to have to learn how to do it. I'm guessing it's not difficult.
Reply With Quote
Reply

Tags
import, excel, php

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
can't import PSDs into Flash ketansethi Flash & Multimedia Forum 4 Jun 3rd, 2007 12:59
Flash Import JPG Sabin_33 Flash & Multimedia Forum 5 Dec 18th, 2006 19:00
Import XML in MS access inarobis Other Programming Languages 1 Jul 13th, 2006 19:07
Import the Excel File accessman Databases 2 Oct 8th, 2005 23:17
Import Excel into Access ekendricks Databases 1 Jun 24th, 2004 08:10


All times are GMT. The time now is 02:06.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43