[
Lists Home |
Date Index |
Thread Index
]
"Sebastian A." <sebi@xinium.com> writes:
> function charcterPro($parser, $data)
> {
> global $TAG;
>
> switch ($currentTag)
> {
> case "TAG1":
> $TAG = $data;
> break;
>
> default:
> break;
> }
> }
Where should $currentTag come from? It's not passed to charcterPro and
it's not global.
So I guess it's never "TAG1" etc. Try turning on all warnings for
developing, dereferencing uninitialized variables will then be
reported by PHP.
hth
Henrik
|