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 di
At 3:47 PM +0530 2/26/01, Harshdeep S Jawanda wrote:
>Hello everybody,
>
>I am a newbie, so please help me out with my rather basic question.
>
>Please take a look at the following code snippet:
>
> class HTMLTable extends HTMLElement {
> var $attributes;
>
> function HTMLTable() {
>
>
> Hi all,
>
> I changed
>
> > function HTMLTable() {
> > $attributes[] = array("border", "0");
> > $attributes[] = array("cellpadding", "0");
> > // and some other things
> > }
>
> to
>
> $attributes = array(array("border", "0"),
> array(
Hi all,
I changed
> function HTMLTable() {
> $attributes[] = array("border", "0");
> $attributes[] = array("cellpadding", "0");
> // and some other things
> }
to
$attributes = array(array("border", "0"),
array("cellpadding", "0"));
but am
Hello everybody,
I am a newbie, so please help me out with my rather basic question.
Please take a look at the following code snippet:
class HTMLTable extends HTMLElement {
var $attributes;
function HTMLTable() {
$attributes[] = array("border", "0");
$attributes[] = arra
5 matches
Mail list logo