//检查时候含有数据
public function initem($shopid){
if (array_key_exists($shopid,$this->item))
{
echo key exists! www.msheji.com;
}
else
{
echo key does not exist! www.msheji.com;
}} //稀奇古怪了 俩个括号 不在一起 就不行;
------解决方案--------------------
什么意思?
不能
....
echo key does not exist! www.msheji.com;
}
}
???
