Thread: Array problems
View Single Post
  #1  
Old 08-03-2007, 07:40 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
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?
Reply With Quote