On Fri, 29 Mar 2002, David Johansen wrote: > Ok, I have a question about arrays and indexes. Something weird happens when > I try this: > > echo "<td>week[$i][$j]: $week[$i][$k][0]</td>";
If you're array subscripts inside "double quotes", then use {braces}
around the entire variable:
echo "<td>week[$i][$k]: {$week[$i][$k][0]}</td>":
miguel
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

