abo28 Posted February 12, 2007 Share Posted February 12, 2007 Hello! This is a question from a beginner. Is it possible to set several cookies for the same surfer, with the same name (e.g. "mycookie"), but with DIFFERENT values (e.g. 2, 5, 76 etc.)? Or maybe these cookies will overwrite each other? Thank you! Link to comment https://forums.phpfreaks.com/topic/38148-question-about-cookies/ Share on other sites More sharing options...
ToonMariner Posted February 12, 2007 Share Posted February 12, 2007 you can set an array of cooikes but what you suggest would indeed overwrite the previous values... to set array use mycookie[0], mycookie[1] ..... as the cookie name. Link to comment https://forums.phpfreaks.com/topic/38148-question-about-cookies/#findComment-182607 Share on other sites More sharing options...
abo28 Posted February 12, 2007 Author Share Posted February 12, 2007 Thank you so much! Link to comment https://forums.phpfreaks.com/topic/38148-question-about-cookies/#findComment-182616 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.