See this page for an explanation of quotes inside array brackets:
Basically, the correct way to do it is to _always_ use quotes (single
quotes for strings without variables, and double quotes for strings with
variables). So your example below should use format #2 since there are no
variables to expand. Format #1 below is deprecated, and I can attest to
weird behavior when you use $row[$column_name] without double quotes.
Hope this helps!
On Thu, 7 Feb 2002, B. Verbeek wrote:
> What's the difference between:
> 1.- $row[column_name];
> 2.- $row['column_name'];
> 3.- $row["column_name"];
> ragards Bart
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php