>
> 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"));
I'm not sure, but is this what you want?
$attributes = array(array('border'=>0),array('cellpadding'=>0));
or
$attributes[] = array('border'=>0);
$attributes[] = array('cellpadding'=>0);
--
Yasuo Ohgaki
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
- [PHP] Newbie: why do I get this error? Harshdeep S Jawanda
- Re: [PHP] Newbie: why do I get this error? Steve Edberg
- Re: [PHP] Newbie: why do I get this error? Harshdeep S Jawanda
- Re: [PHP] Newbie: why do I get this error? Harshdeep S Jawanda
- Yasuo Ohgaki