I have got a script that reads random text files so far... I found this while searching how to's here:
http://uk2.php.net/
PHP Code:
<?php
$random = rand(1, 3);
$myFile = "$random.txt";
$fh = fopen($myFile, 'r');
$theData = fgets($fh);
fclose($fh);
echo $theData;
?>
ok, I think I know how I can go about this, ok its going to be a bit of work at the start until I can get an easier user friendly version.
but, is there anyway I can force my area, that I want to echo out to, stay at the size I intended it to be, as with this, the table columnis changing size.
or will this have to be done by using the \n in the text file?
forget that, I am going down teh array route now, as it keeps the page looking fine.
ik