hi
I have problems with include.I have created a class called Project.class which has many methods
in one php page .Iam creating the object of the class and after that i am using include to include a file THe code is like this
<?php
require ('pre.php');
if (!$group_id || !$project) {
exit_error("Invalid Project","Invalid Project");
} else {
$project=new Project($group_id)
//now show the project page
include ('project_home.php');
}
?>
project_home.php is in /www/include
and projects and class file Projects are in /www
But it is showing the error page cannot be displayed.
please help
thanx in advance
prashanth