m' => w_c
);
while (list($val, $key) = each($item_array)){
if ($key == $item){
$item_text = $val;
}
}
echo $item_text;
Thanks again,
Robert
- Original Message -
From: "Matthew Loff" <[EMAIL PROTECTED]>
To: "'Robert Weeks'" <[EMAIL
Robert--
You're on the right track... I'm assuming $row is the result of a
mysql_fetch_assoc() call, and $row['item'] contains the hashed value
(either "m_r", "m_c", or whatever)... Try this:
m_r, 'Mens Charm' => m_c, 'Womens
Ring' => w_r,'Womens Charm' => w_c);
#query db and get a result