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.

Login

Who's Online

258 user(s) are online (216 user(s) are browsing Support Forums)


Members: 0


Guests: 258


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits