Dear all,
In mysql there is table downup
site enum('site1', 'site2'),
down datetime,
up datetime
and there is file with such statistics about site1, site2 down and up period
2003-01-28 15:42:08 (back up)
2003-01-27 14:05:45 (down)
2003-01-25 15:54:17
2003-01-25 15:11:19
2003-01-23 09:38:19
2003-01-23 09:06:55
2003-01-10 13:42:38
2003-01-10 12:45:40
2003-01-07 01:56:44
2003-01-07 01:34:47
how to transfer these datas to the mysql table and check, if there is not back up the data will not be transffered. The highest datetime / event has to be on the top/last.
should i use regular expression (preg_match)
I would be very thankful if you help me and as soon as possible.
Best regards
Maryer