PDA

View Full Version : Help on Adding a PHP Include into VB3


KamuiX
03-21-2004, 06:56 PM
This is probably super-simple, but I'm having no luck getting it to function on the boards....

Essentially, I just need the following PHP tag to go before the forum header:

<? include 'random.php' ?>


Can it be placed on the templates, or does this need to be hard coded on the forum itself?

help! :cry:

assassingod
03-21-2004, 07:05 PM
Sadly you can't just enter PHP in templates, however you can add

include('random.php');

in the phpinclude_start template:)

KamuiX
03-22-2004, 12:15 AM
Ah, I tried that but didn't have any luck (where on the page does it place the code?)...

Instead, I just went with using a Iframe and placed the PHP variable on a seperate page instead. :D

Thanks for the help though, assassingod :)