I am trying to simply display the content from my test.txt file into my HTML page. My test.txt file includes some html, something like this below:
Code:
My name is <b>tee louis</b>. Welcome to my website.
I want to display that in my HTML DIV section. (Reason is, I don't wanna have to update my HTML page everytime I need to update the content of the text file.
I don't understand how to use PHP with HTML. I know how to create a php code page. And I've found code that gives examples on how to create the PHP script, but once you have the script how do you use it in your html?
can someone provide me an example on how to do this? Thank you
|