include a php file [message #26716] |
Fri, 05 August 2005 02:22  |
Duke
 Messages: 10 Registered: June 2005
Karma: 0
|
Junior Member |
|
|
Can I include a php file say left.php in a template header & footer file, so the forum looks like http://phparch.com/discuss/
but with an actual php scripts in the included file?
When I did it ended up all weird....
|
|
|
Re: include a php file [message #26735 is a reply to message #26716] |
Mon, 08 August 2005 02:20   |
Ilia
 Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
You need to do something like this:
<?php
your php code
?>
add this into footer an you should be ok.
FUDforum Core Developer
|
|
|
Re: include a php file [message #26776 is a reply to message #26735] |
Wed, 10 August 2005 22:13  |
Duke
 Messages: 10 Registered: June 2005
Karma: 0
|
Junior Member |
|
|
Hi Ilia,
Yes I know how to include a file or php code,
but i think what happend is that the table shifted,
and the include_once file that was included uses some of the same variables because it looked really odd...
Anyway, I don't use it now.
|
|
|