I am trying to parse a text file and then I would like to put them into a database. I have a text file like this
PARKCODE: AKKA
PARKNUM:
SUBJECT: Info systems
VERSION:
KEYWORDS: digital data and text
TITLE: AKKA national monument
and I have a database I created has fields exactly same in the text file.
Like PARKCODE PARKNUM SUBJECT VERSION KEYWORDS TITLE
Can someone tell me how am i gonna parse the data from text file above and put them into database. I would like to parse just data after column like:
not PARKCODE just data after column
) AKKA.
Thanks for any help.
PARKCODE: AKKA
PARKNUM:
SUBJECT: Info systems
VERSION:
KEYWORDS: digital data and text
TITLE: AKKA national monument
and I have a database I created has fields exactly same in the text file.
Like PARKCODE PARKNUM SUBJECT VERSION KEYWORDS TITLE
Can someone tell me how am i gonna parse the data from text file above and put them into database. I would like to parse just data after column like:
not PARKCODE just data after column

Thanks for any help.