1
davidthomas1
custom block php include problem

Hi peoples,

I'm having trouble displaying PHP include content in a custom block.

If I use this code :
include('randomquote\L3Kanji_quote.php');
and save the block as a php script, I get a blank block.

If I enclose the code in php tags and save the block as HTML, I can preview the correct content using the preview button, but when submitted, nothing appears in the block.

Can someone shed some light on this problem?
thanks,
David Thomas.