Sunday, January 8, 2012

Flat file database for the web?

Hi i am building a website that will have to be updated constantly every week. It is for a Rec football team association. I am new to all of the database info and i downloaded mysql and phpadmin but to be perfectly honest i have no idea how to even start and cannot find any sites with tutorials that can be understood. All i am trying to do is say put a stats and results grid on one page and have that information transfer to another page by code like this





Name Wins Losses First Downs


Steelers 3 4 23


Warriors 3 4 21


And so on but then on another page i would like to have this info





Steelers


Wins = 3


Losses = 4


First Downs = 23





But i only want to update the first grid so when it is updated the second column automatically changes i am very good with html code and descent on the computer but i just could do nothing with mysql and i am not sure i need to|||If you're set on having a flat-file solution, I suppose you could make your file with the data enclosed in table row and cell tags and then include that xxx.html file in your main page. Then you just upload the new version of xxx.html to your server each time you update the scores. You might look at http://www.boutell.com/newfaq/creating/i鈥?/a> for some ideas there.|||If you only want to make the change in one place then you are going to need some sort of server side code to do this. You could use PHP for this for example. For simple data like this you can get away with not using a database like mysql, you can just read it in from a plain text file.

No comments:

Post a Comment