$weapon1=(int)$youdata[‘equip_primary’]; // weapon 1 ID number — this is returning correct
$weapon2=(int)$youdata[‘equip_secondary’]; // weapon 2 ID number — this is returning correct
$armor=(int)$youdata[‘equip_armor’]; // armor ID number — this is returning correct — only not needed at the moment
$wp1dmg=(int)mysql_query(“SELECT weapon FROM items WHERE itmid=$weapon1”); // should be weapon damage — this is returning resource id#
$wp2dmg=(int)mysql_query(“SELECT weapon FROM items WHERE itmid=$weapon2”); // should be weapon 2 damage — this is returning resource id#
the comments say it all. if i could get live chat with someone, that would be great too… yahoo id=steven_littrell