How do I fill in a cell with data from a txt file

They have: 16 posts

Joined: Apr 2002

How do I fill in a cell with data from a .txt file..?

Thanx...

teammatt3's picture

He has: 2,102 posts

Joined: Sep 2003

Is PHP enabled on your server? You could do something like

<?php
include ('data.txt');
?>

They have: 16 posts

Joined: Apr 2002

Yes PHP is available - thanx I shall give that a go...

They have: 16 posts

Joined: Apr 2002

Afraid I couldn't get that to work... Box remained empty.

teammatt3's picture

He has: 2,102 posts

Joined: Sep 2003

Oh, forgot to mention, is the file extension of the table .php or .html/htm? If it isn't you will have to change it to thenameofyourtablefile.php

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.