| Author |
Message |
enlightenmental Member |
# Posted: 28 Mar 2008 06:05
i'm using a Wyzz editor to write to a txt file
the display back in a webpage using "php include"
text file looks like this:
<p>test text</p>
webpage displays text like this:
<p>test text</p>
what am i doing wrong?
|
DavidHopkins Member |
# Posted: 25 Aug 2008 21:05
wish i could answer this for you .. but it is also how I think i want to use WYZZ too.
Did you get an answer to your question??
In a nutshell, I have a 5 page website and I make changes to it at different times, so I'm not always near a PC with Dreamweaver and/or FTp client ... so a simple editor that would update a text file I can pull into the page structure using include would be good for me too.
David
|
phpBeta Member |
# Posted: 20 Apr 2009 16:52
webpage displays text like this:
<p>test text</p>
what am i doing wrong?
Have you tried renaming the .txt - .html and include according-ling
<p> these are html tags, thus they are not related to .txt
However another way would be to tell the server to interpret .txt as .html by adding the following to a .htaccess file.
AddHandler application/x-httpd-php .html .htm .txt
I'd go with the first option :)
|