Quote:
Originally Posted by Panzer Max
Thanks for the reply, kh.
I added
Code:
$mytext = file_get_contents("/usr/public_html/forum/info.txt");
in my navbar where I wanted the text to appear, and uploaded a text file called info.txt to the forum folder, but the forum page is displaying:
Code:
= file_get_contents("/usr/public_html/forum/info.txt");
.
|
The main reason this isn't working is because you put it in your navbar template... Templates can't run PHP code so you need to put this in a plugin per the above instructions.