So, I'm a total PHP newbie. I work for a small company and one of my duties is to track outages of service. My boss wants to have a web page people can go to to see current outages and the previous day's outages. Somehow, this managed to get dumped in my lap instead of someone with more programming experience. I'm taking it as a learning experience and running with it though. (It helps that my boss told me that if I do well on this that when we launch our entire web presence I get to pretty much retire from my other duties and just manage our web site.)
Anyway... We have on average 3-5 things per day that we need to track and we already have a database system in place for long term tracking. All this web app needs to do is: 1. Be updated by a form that myself and two other people will have access to, 2. Display all current outages in a nice, neat, tabular format, 3. In the future, have a one day history built in to keep track of the previous day as well. Right now, I'm just worried about 1 and 2. I have the form designed, and am starting on the php part.
In the beginning, its just going to be very bare bones. I'll manually edit to update as for closed/open tickets. I basically just want the form to save multiple entries and then display all the entries in a table. Since its a very small amount of data that needs to be tracked, I plan on using a text file to store the data. There are eight values coming from the form of varying types. I plan on using file_put_contents to write the text file, and then another script will read the text file and build the table.
My main question is: Am I going about this the right way? I don't have the option of using SQL or any other database to begin with, that will come later if needed. Any input is certainly appreciated. I'm catching on quickly, but would just like some feedback from experienced php coders and I know none personally. Thanks!