我有一个周期,而:
while ($userEquipments = mysql_fetch_array($getUserEquipments))
并且在这个循环中有一个带有数组的 if:
if ($userEquipments['cloth_id'] == $clothes['id'] && $userEquipments['cloth_is_used'] == 1)
$isUsed = array('cloth_type' => $clothes['type_cloth'], 'cloth_name' => $clothes['name'], 'cloth_image' => $clothes['image']);
我的问题是如何返回这个数组中的所有信息?