Re: fetch array problems.
| From: | Felix Kronlage | Date: | Wed, 28 Mar 2001 08:15:15 +0000 |
| Subject: | Re: fetch array problems. | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-7925@lists.php.net to get a copy of this message | ||
On Wed, Mar 28, 2001 at 01:08:35AM -0700, John Starkey wrote:
> <table bgcolor="'.$color[color_1].'" class="nav">
> ...... ';
> I can't get $color[color_1] to return a value. It's in the db and
> color_1 is a valid table containing a hex value. This is my first
> attempt at using assoc. arrays.
I'm not sure right now, but try $color["color_1"] to access the assoz.
array...(dunno, if it makes a difference)
-fkr
--
gpg-fingerprint: 076E 1E87 3E05 1C7F B1A0 8A48 0D31 9BD3 D9AC 74D0
|http://www.hazardous.org/ | whois -h whois.ripe.de
FKR-RIPE |
|all your base are belong to us | shame on me | fkr@IRCnet |