PHP interesse |
|
Hoe plaats je 1 cookie met meerdere waarden.
Ps de waarde moeten $_POST[''] 's zijn !!!
Ik had dit:
setcookie("stats", $_POST['ta'];$_POST['am'];$_POST['td'];$_POST['dm'];$_POST['un'];$_POST['unm'];$_POST['spy'];$_POST['sen'];$_POST['aw1'];$_POST['aw2'];$_POST['aw3'];$_POST['aw4'];$_POST['aw5'];$_POST['aw6'];$_POST['aw7'];$_POST['aw8'];$_POST['aw9'];$_POST['aw10'];$_POST['dw3'];$_POST['dw4'];$_POST['dw5'];$_POST['dw6'];$_POST['dw7'];$_POST['dw8'];$_POST['dw9'];$_POST['sp1'];$_POST['sp2'];$_POST['sp3'];$_POST['sp4'];$_POST['sp5'];$_POST['sen1'];$_POST['sen2'];$_POST['sen3'];$_POST['sen4'];$_POST['sen5'], time()+60*60*1);
setcookie("stats", $_POST['ta'];$_POST['am'];$_POST['td'];$_POST['dm'];$_POST['un'];$_POST['unm'];$_POST['spy'];$_POST['sen'];$_POST['aw1'];$_POST['aw2'];$_POST['aw3'];$_POST['aw4'];$_POST['aw5'];$_POST['aw6'];$_POST['aw7'];$_POST['aw8'];$_POST['aw9'];$_POST['aw10'];$_POST['dw3'];$_POST['dw4'];$_POST['dw5'];$_POST['dw6'];$_POST['dw7'];$_POST['dw8'];$_POST['dw9'];$_POST['sp1'];$_POST['sp2'];$_POST['sp3'];$_POST['sp4'];$_POST['sp5'];$_POST['sen1'];$_POST['sen2'];$_POST['sen3'];$_POST['sen4'];$_POST['sen5'], time()+60*60*1);
Maar ik krijg de error unexspected ";" on line ...
|