I coded for creating instance of clsDegree
like below:
$degree = new clsDegree();
but I found $degree
is object of stdClass
and contains no attribute from clsDegree
class.When I tried it on another page, it gives me clsDegree
object then what may the problem with previous one.