Home >Backend Development >PHP Tutorial > 页面间的$_SESSION传输解决思路

页面间的$_SESSION传输解决思路

WBOY
WBOYOriginal
2016-06-13 12:45:09764browse

页面间的$_SESSION传输
$_SESSION['id']=$i[id];?>

">
 页面间的$_SESSION传输解决思路 .jpg"/>


$i里有10条信息,
点击任何图片通过$_SESSION到B页面后打印出的都是10
怎么才能做到点击的哪一个图片,打印出哪一个图片的ID

session
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