I have a question here and I can not solve it since I am a beginner in php.
I want to retrieve cookies and print on the screen a certain value that corresponds to the cookie, however I can only print 1 cookie.
Página que eu estou pegando o cookie
<?php
setcookie("Nome",$Valor,(time() + (7 * 24 * 3600 )));
$_COOKIE["Nome"];
?>
Página que eu estou exibindo os cookie
<?php
$Test = $_COOKIE["Nome"];
print_r($Test);
?>
I already tried echo instead of "print_r" and it did not work