I would like to know how to import text from a simple text file into a webpage.
readfile("myfile.txt") if you want to output it as is. Or you can call fopen/fread. You can wrap <pre> tags around it or call nl2br() to format it.