The page is a stat page so i will be updating it weekly. I would rather do it on excel and just upload that page instead of doing it on the html. Thanks ahead
php driven
Started by
adamdillon
, Nov 21 2006 03:10 PM
#1
Posted 21 November 2006 - 03:10 PM
The page is a stat page so i will be updating it weekly. I would rather do it on excel and just upload that page instead of doing it on the html. Thanks ahead
#2
Posted 04 December 2006 - 05:30 PM
do you still need help?
#3
Posted 04 December 2006 - 07:03 PM
yes please. I know some basic php now. i have been learning. I'm still a little confused with mysql.
#4
Posted 06 December 2006 - 03:41 AM
With MYSQL, put the code in ONE line, don't use multiple lines, it's simply not working that way.
If that's not the problem, then what is?
SQL isn't hard to understand or to use, except using the SQL Query syntax in a correct way.
If that's not the problem, then what is?
SQL isn't hard to understand or to use, except using the SQL Query syntax in a correct way.
#5
Posted 06 December 2006 - 12:12 PM
let's start with more info on what you are attempting to do.
given - the excel file changes each week
1. you want to extract data from this file and display it on your site, correct?
I'm not sure how to read the excel file directly, however, php is capable of reading text files.
php can be used to generate the html code for your site.
2. how many pages of data are in the excel file?
3. mysql was not mentioned in your original post. do you want the stats transferred to a database?
please post your answers and provide any other important details.
............................................................
here's how I can help:
provide php code to read text files
provide php code to generate html code
once that is accomplished, we can look at mysql code
given - the excel file changes each week
1. you want to extract data from this file and display it on your site, correct?
I'm not sure how to read the excel file directly, however, php is capable of reading text files.
php can be used to generate the html code for your site.
2. how many pages of data are in the excel file?
3. mysql was not mentioned in your original post. do you want the stats transferred to a database?
please post your answers and provide any other important details.
............................................................
here's how I can help:
provide php code to read text files
provide php code to generate html code
once that is accomplished, we can look at mysql code
#6
Posted 06 December 2006 - 12:25 PM
Yes the excel file will change everyweek.
1. yes.
2. for each web page there will be one excel page.
3. If it would be easier to use mysql and setup the tables in it then i will. Can mysql read excel spreadsheets and convert them into mysql tables?
It will not be alot of data just stats for a football team.
1. yes.
2. for each web page there will be one excel page.
3. If it would be easier to use mysql and setup the tables in it then i will. Can mysql read excel spreadsheets and convert them into mysql tables?
It will not be alot of data just stats for a football team.
#7
Posted 06 December 2006 - 08:50 PM
mysql handles databases, not excel files.
if you want past data available, we can store each week's stats in a database.
please attach a sample excel file with your next reply.
one way to transfer the data to your site:
1. copy and paste the excel data to a text file
2. read the text file using php code
3. generate html code using php to display new stats each week
are you interested in proceeding with a text file solution?
if you want past data available, we can store each week's stats in a database.
please attach a sample excel file with your next reply.
one way to transfer the data to your site:
1. copy and paste the excel data to a text file
2. read the text file using php code
3. generate html code using php to display new stats each week
are you interested in proceeding with a text file solution?
#8
Posted 07 December 2006 - 09:15 AM
I do have access and I know how to use it to. I dont know if mysql works with access. I attached a spreadsheet of a rooster. I will be updating it until the season starts but once the season starts i wont have to update it anymore. Its set up the same way the stats will be. If we can't get the excel or acces sheet to work then i will be fine using the text file. Thanks for you help again.
#9
Posted 15 December 2006 - 02:29 PM
Do you know that you can save an Excel file as html?
#10
Posted 20 January 2007 - 04:52 PM
attached files:
standings.inc has code that can be used for a text file solution
sqlPhp.zip has mysql and php code
warning: the mysql code is crude
standings.inc has code that can be used for a text file solution
sqlPhp.zip has mysql and php code
warning: the mysql code is crude
Attached Files
#11
Posted 20 January 2007 - 04:55 PM
here's standins.zip which contains standings.inc
Attached Files
Similar Topics
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users