On Mon, Mar 25, 2002 at 09:59:12AM -0500, arti wrote :
> I do not understand why I am getting the error "Undefined variable this" in
> this snippet of code (note for brevity I cut out a lot of code):
>
> class standardquestion
> {
> var $private;
>
> function standardquestion($xmlfilename)
> {
I do not understand why I am getting the error "Undefined variable this" in
this snippet of code (note for brevity I cut out a lot of code):
private=FALSE;
}
function startElementHandler($parser, $name, $attribs)
{
if ($name=="private")
$this->private = TRUE;
if ($this->private==FALSE)