why does: print $a[$b['b']] return:

parse error, expecting `T_STRING' or `T_VARIABLE' or
`T_NUM_STRING'

but if I do it in two steps like:

$c=$b['b'];
print $a[$c];

it works fine.

I have tried dozens of syntax combinations using
quotes, no quotes, on one or both and can't get
anything to work.  any help would be greatly
appreciated.  The two step method is annoying.

Job
 

__________________________________________________
Do You Yahoo!?
NEW from Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1

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

Reply via email to