J
|
Jane 12/15/2008 |
Hi, |
D
|
dossanr author 12/16/2008 |
In phprunner 4.2 I used the code "{$includes}{include_if_exists file="include/header.php"} " to include a header file. This does not work in phprunner 5. Instead of {$includes} there is {$header}. I guess I am supposed to use that instead now but I don't know how to use it or where to learn how to use it. Thanks for any help, Rico
|
![]() |
hichem 1/4/2009 |
Poked around some more and found what I was looking for. It looks like you can't specify a location and/or file name with 5.0. {$header} does replace {$includes}{include_if_exists file="include/header.php"} . In 5.0 you just make sure there is a file called header.php in your include folder and thats all you have to do.
|
J
|
Jane 1/5/2009 |
Hi, include("include/dbcommon.php");
include("include/header.php"); |