[plug] PHP Arrays
Carl Gherardi
gherardi at ark.cs.curtin.edu.au
Mon Sep 11 13:06:40 WST 2000
On Mon, 11 Sep 2000, Jason :) wrote:
> on line 5 in that code, try:
> $value=$browser["browser"];
>
> PHP seems to like having quotation marks in its array element name thingy...
>
Or if browser in line 5 is a variable then
$value=$browser[$variable];
I've forgotten $ signs way to many times previously...
> |
> | <?
> | $browser = get_browser();
> | $value=$browser[browser];
> | echo "$value";
> | ?>
> |
>
>
>
More information about the plug
mailing list