sorry for the title... kind of lame...
but anyways I'd like to be able to take in a file in PHP
...
**example_file.txt**
United States
Canada
-----------------------
Albania
Algeria
American Samoa
Andorra
Angola
and wrap these individual linebreaks in an HTML element that I pass it.
EX: magicHtmlGenerator(example_file.txt, '<li>')
// spits out <li>United States</li><li>Canada</li> etc