Re: [PHP-DB] trying to quote keys in arrays causes error, Why

2002-02-07 Thread Jason Wong
On Friday 08 February 2002 03:30, Peter J. Schoenster wrote: > Hi, > > Someone pointed out that I should quote "key" in arrays. What someone forgot to point out was that within double-quoted strings you should not quote the keys. > If I do this: > > > > or just this: > $input[REQUEST_URI] > in

[PHP-DB] trying to quote keys in arrays causes error, Why

2002-02-07 Thread Peter J. Schoenster
Hi, Someone pointed out that I should quote "key" in arrays. If I do this: or just this: $input[REQUEST_URI] in a heredoc I get the following > Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or > `T_NUM_STRING' in > /usr/local/etc/httpd/htdocs/readbrazil.com/htdocs/login.php