Hello, have a quick question. First here is a little clip of the php I am working with:
<? if (isset($message)) {
echo " $message <BR>";
}
if (isset($error)) {
echo "ERROR: <BR> $error <BR>";
}
include($page . ".tpl"); ?>
I have the example.tpl's in a /tpl directory, basically it is /admin/tpl . This php clip is from the template.tpl which is in the tpl directory and keeps giving me the error that the file is in the wrong directory. How would I change the include part so that I could tell it to pull the other tpl's for the tpl directory.
Thanks in advance