.txt file on website

Hi all
I have created a customtextout.txt file which I want to show on my website. What is the code to put in the datahtm file ?
Thanks in advance
Regards
Alan

googling finds

<?php include 'file.txt'; ?>

Thanks Brian
That doesn’t seem to work and I’m probably trying the wrong approach. Maybe there’s another way. What I want is the PM2.5 & PM10 & aqi values on the website.
I want it to look something like PM2.5 = nnn.nn PM10 = nnn.nn AQI = nnn.nn
I have got the AQI dial and History Graph so I’d like the text values just above.
Regards
Alan

Do you have a link to the page? That would help suggest a solution.

Thanks
By ‘page’ did you mean the website - if so www.greatbosullow.net
Regards
Alan

The page/startpage is index.html Weather Data Great Bosullow - Oregon Scientific WMR300

The solution to add

<?php include 'file.txt'; ?>

will not work in a html page.

You should try an

<iframe src="file.txt"></iframe>

If it shows the text we have to define the width and height of the iframe similar to

<iframe src="file.txt"  style="width: 500px;  height: 50px;"></iframe>

BUT before you can do anything you need to upload the file.txt using WD to the root of your site.
As at this moment it is not there: http://www.greatbosullow.net/file.txt returns a 404 error.
It can only be shown in your index.html when it is in the root.

Wim

Wim, the file is there http://www.greatbosullow.net/customtextout.txt

Thanks
That has put the text there (Needs a bit of editing - I left html attempts there) Now I need to position it and get the font right - tomorrow.
Regards
Alan