Hi there, I might have posted this message before in the under the wrong page, i hope this is the right one.
I am facing a problem makin a php script for my education as a hydrographer.
I need to load data.txt (attached) file in to array which is shown by a table with 2 lists. a part of the data file looks like this:
:00 :10 :20 :30 :40 :50
15:00 68 84 99 113 126 130
16:00 147 156 163 168 172 175
17:00 177 177 177 174 171 167
The 15:00 and :10 for example are showing a measured value of 68 at 15:10. So i hope its possible for somewan to make a script that can read the txt file that is attached and can make the data shown in a table with 1 array showing the time and another showing the meassured value.
I already made some kind of interface which is able to show the data.txt file in PHP(Attached). So the next step is to get the right data out of the file (date time)array, (meassured value)array into a table shown like.
time value
15:00 68
15:10 84
15:20 99
etc.
I hope somewan can help me with this problem because i am stuck at the moment with to less time and knowledge.
p.s. I use wampserver to run a localhost
interface.txt (332 Bytes)
data.txt (3.45 KB)