在foreach中获取foreach的用户ID

时间:2013-08-19 12:28:21

标签: php

我有阵列

Array
(
[1] => 1
[2] => 2
 )
Array
([1] => 1)

的结果
foreach ($aExpAuction as $nAuctionID => $aAuctionData) {
if (!array_key_exists($nAuctionID, $aWathedAuctions)) continue;

我需要在此内部再做1次以逐个排序数组

喜欢

foreach  ($aWathedAuctions[$nAuctionID] as $aAuctionInfo) {}

但是我不知道如何继续该怎么办?数组或返回像字符串来获取IDS?帮帮我,请给我一点想法

0 个答案:

没有答案