Hi!
From voting page I sent a value like this <a href=”?p=add&id={$id}”>YES</a>
And from $_GET I then want to add the value into $
$votes = array();
$_SESSION[‘myVotes’]= $votes; this is done in the index.php and only done once.
The process of adding to the session array is done on a page and then return back to the page from where the voting was done. I add to the session array like this $_SEESION[‘myVotes’][] = $id.The problem is that the array just replace the first value and not growing to a list of added numbers between the pages! Why this and what have I done wrong? Preciate some help! Thanks!