这么不行么

WBOY
WBOYOriginal
2016-06-13 12:36:59917browse

这样不行么
$_SESSION[]['id']=$row['id'];
foreach ($_SESSION['id'] as $key=>$value){

echo $value;
}

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn