Re: Newbie: why do I get this error?
| From: | Harshdeep S Jawanda | Date: | Tue, 27 Feb 2001 06:21:53 +0000 |
| Subject: | Re: Newbie: why do I get this error? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-41799@lists.php.net to get a copy of this message | ||
Hi,
Steve Edberg wrote:
> In your HTMLTable() function, use
>
> $this->attributes[] = array("border", "0");
> $this->attributes[] = array("cellpadding", "0");
>
> otherwise, PHP thinks $attributes is a variable local to that
> function, rather that a class variable.
Yes, that did the trick :-) - thank you!
--
Regards,
Harshdeep Singh Jawanda.