Parsing a text file for php retrieval?

Josh

New member
I have a single text file full of help text for a game. I would like to parse this file for the web (my site is joomla) so I can upload the file to my server and call individual parts of it when the user clicks a link. Each seperate help text is distinguished at the beginning of it by a #<number>. It is ended by a ~. For example :

#20
Hotdogs

Delicious sandwich-like food usually consumed with ketchup.
~


When they click a link entitles "hotdogs", I would like them to see :

Hotdogs

Delicious sandwich-like food usually consumed with ketchup.


....

How do I do this exactly?
 
Back
Top