+ 1
I want to create cookies from an array which has 7 elements
var person = []; //empty array person["name"] = "John"; person["age"] = 46; person ["email] = "klawrence026@gmail.com" How can i create cookies for this object
4 ответов
+ 5
Hello, Khaukanani Lawrence !
For your question, we found suitable websites
https://stackoverflow.com/questions/20096825/object-to-cookie-in-php
https://stackoverflow.com/questions/9032007/arrays-in-cookies-php
http://php.net/manual/features.cookies.php
+ 3
You can use HTML5 Web Storage instead of cookies (it is easier to use and more secure)
Here are the related lessons:
https://www.sololearn.com/learn/HTML/2197/?ref=app
+ 1
Oh sorry i didn't know that
0
it is an assignment I hv 2 strictly use cookies