View Single Post
Old 07-07-2004, 05:54 AM   #6 (permalink)
idx
Senior Grasshopper
 
idx's Avatar
 
Join Date: Jun 2003
Location: FL
Posts: 317
idx is on a distinguished road
Not that it matters are this point, but from what I remember in the php docs, it doesn't like bare keynames in arrays like perl does.

eg:

Code:
#perl is ok - any of these work
$FOO{BAR} = 'brarr!';
$FOO{'BAR'} = 'brarr!';
$FOO{"BAR"} = 'brarr!';
PHP Code:
$FOO['BAR'] = 'brarr!';
//no
$FOO[BAR] = 'brarr!'
I think it was something to do with PHP thinking the bare _BAR_ was a defined constant.

??


BTW, good to hear sniper_e got it working, although being obsessive about PHP as I am, that is some horrid code. (what sniper_e posted that is)

-r
idx is offline   Reply With Quote