Log in

View Full Version : how do I include a php file in a template?


snyx
08-27-2002, 02:56 AM
call this a stoopid question, but how do I call a php file into a template?

(using last10.php :D)

thx,
-myles`

g-force2k2
08-27-2002, 03:35 AM
eh? do you mean call a template from the php file? using the eval() function? regards...

g-force2k2

snyx
08-27-2002, 03:54 AM
no, call in a php file
like using <? include("last10.php"); ?> or <!--#include file="last10.php"-->
both of which dont work

g-force2k2
08-27-2002, 02:06 PM
snyx in the vb files since its already php i believe that you only have to use ::

include("last10.php");

regards...

g-force2k2

snyx
08-28-2002, 03:12 AM
no mate, im talking like in my forumhome template.
calling a php file INTO the template using something..
none of the above listed works.

how hard can this be?!? :p

snyx
08-28-2002, 06:19 PM
bump.