Code: Select all
function error($message) {
echo $message;
require_once('footer.php');
exit;
}
Code: Select all
function error($message) {
echo $message;
}
Code: Select all
error("The style you selected does not appear to exist.");
require_once('footer.php');
exit;
Can anyone explain why the behavior differed?
(If it matters, the "not working" thing was it not recognizing variables that are defined in the header. I use a very simple template system.)