Hiya
I've got a file containing basic html to be output, eg:
"example.txt"
<p><b>Hello world</b></p>
<p>PHP rules - if only I was better at it</p>
A web page then needs to read this file, CHANGE it a little (eg. <span class='xxx'> is inserted after every <b> statement), and then output the result to the screen / page.
I'm currently using readfile("example.txt") , but the minor changes are essential for formatting purposes.
Any ideas would be appreciated!
Thanks in advance!
...Simon.