I want to put incude() or require into an if else loop ie:
if ($condition=="a"
{
incude 'yes.php';
} else {
incude 'no.php';
}
I understand from php.net that because it's a language construct this isn't possible to do "Variable functions won't work with language constructs" How do I get around this?
if ($condition=="a"

incude 'yes.php';
} else {
incude 'no.php';
}
I understand from php.net that because it's a language construct this isn't possible to do "Variable functions won't work with language constructs" How do I get around this?