Home  >  Article  >  Backend Development  >  Set cookies with the same name, how to return their values_PHP Tutorial

Set cookies with the same name, how to return their values_PHP Tutorial

WBOY
WBOYOriginal
2016-07-13 10:53:22759browse

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

www.bkjia.comtruehttp://www.bkjia.com/PHPjc/632403.htmlTechArticle方法为: 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