
08-03-2007, 07:40 PM
|
|
Will work for food. Maybe
|
 |
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
|
|
Array problems
I'm working with arrays and having a bit of problems:
PHP Code:
echo(this.itemdb.(@temp.list[i]));
Echoes:
Quote:
Checking inventory...
{vs_icon-arrow.png,Weapons,6,0,Traditional arrows crafted for efficient archery}
{wbomb1.png,Weapons,6,0,An explosive fuse bomb}
{wboom0.png,Weapons,6,0,Deadly weapon, crafted to always return}
{wbowi1.png,Weapons,6,0,A simple wooden bow}
{wham1.png,Tools,6,0,Hammer capable of breaking small rocks}
|
But...
PHP Code:
echo(this.itemdb.(@temp.list[i])[0]);
Echoes the same exact thing, not the subarray. Any idea what I'm doing wrong? |
|
|
|