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)
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 | 

PGP signature

Reply via email to