我需要 array($project_Ids) 没有任何建议。
这是
因为我不能调用函数,因为已经调用了;我只是想要一些如何更新这个数组()。
$project_Ids=array();
function generateProperties($listP, $sizeS){
global $project_Ids;
$i=0;
foreach ($listP as $pr) {
$i++;
$pr['project_id'];
$project_Ids[$i]=$pr['project_id'];
echo "<li class='' style='cursor: pointer;height:" . $sizeSmallBlock . "px;' dds='" . $project['project_id'] . '-' . $project['project_calendar_id'] . "' id='" . $project['project_id'] . '-' . $project['project_calendar_id'] . "'>" .
$description .
"</li>";
}
}