i have a problem in displaying the values of a cookie dynamically
code goes as...
<?php
$x=array();
include("connect.php");//database connection file
$temp=$_GET;
setcookie(count($x)+1,$temp);
echo $_COOKIE'];
?>
// how do i display the value of cookie every time... it is over written....
i have tried it with using array..
in short i want to display multiple values of single cookie..
value must no overwrite... coz i don't know how many times the user clicks the likn...