Home  >  Article  >  php教程  >  设置相同名称的cookie,如何返回它们的值,请看:

设置相同名称的cookie,如何返回它们的值,请看:

WBOY
WBOYOriginal
2016-06-21 09:12:57833browse

cookie

SetCookie("mycookie[]","It's just cookie test!!!","The second");
echo $mycookie[0];
echo $mycookie[1];

?>



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