On Thursday, April 4, 2002, at 12:28 PM, Andrew Warner wrote:
> Is it okay practice to condtionally include php files that contain only
> classes or functions (as opposed to just straight code)? The result
> is a class or function inserted right in the middle of an if{} block:
It is better
Is it okay practice to condtionally include php files that contain
only classes or functions (as opposed to just straight code)? The
result is a class or function inserted right in the middle of an if{}
block:
} elseif ($var=='a')
{
include('temp.php');
$obj = new foo;
echo
2 matches
Mail list logo