Hello,
I am trying to create a php block that reads from a text file. I have the following code in lib-custom.php:
function phpblock_spamstats()
{
include 'test.txt';
$retval .= '
htmlasdf';
return $retval;
}
The block reads the file but the output is in the very top left corner of the browser window (above where the geeklog logo.gif displays) not in the block. The html displays properly in the block.
Any assistance is greatly appreciated.
Thank you.
http://www.brokenspoke.caHave you broken your spoke today?