for reading the data file.

This program is Book2A.php
Data file is sampledata.txt
This is number 0
line nr is 0
the line is:
This is number 1
line nr is 1
the line is: 1911
This is number 2
line nr is 2
the line is: JMet1984Apr--
This is number 3
line nr is 3
the line is: Sep30:Netherlnds: Haagsche Bosch storm
This is number 4
line nr is 4
the line is: Wood destroyed.
This is number 5
line nr is 5
the line is:
This is number 6
line nr is 6
the line is: 1912
This is number 7
line nr is 7
the line is: JMet84Apr--
This is number 8
line nr is 8
the line is: Aug:Cold wet sunless.
This is number 9
line nr is 9
the line is: Aug27:Gale, lowpres.
This is exit.