hi guys
i have problim is cookies .. im working is small program the i add qustions for the users with (yes or no) answers many qustions in the database the users come and answer and the can only answer one (useing cookies)
i made the normal way
setcookie ("do$id",1,"$expires");
where the $id is = the id of the qustion the user answer and $expires is for the expires time
it iw work fine with the first 11 qustions but when i do the number 12 it delete number 1 cookie and when i do number 13 it delete number 2 and so on
i think there is max number of cookies ? maybe that why
so i think to put all of the qustion's number in one cookie useing array
i never work with it so i do this as test
setcookie ("do[$id]",1,"$expires");
this line work all the time any of my user answer a qustion .. but it do the same problim
can any one help me ? ?