hello, everyone im working on my masters thesis, i need little help. if anyone can help me with cookies methods. i want to implement cookies in my website through PHP, im nt that much expert in php.how can i do that ??? please
soomro_moon
0
Light Poster
Recommended Answers
Jump to PostYou could use cookies but you will need Javascript to achieve it because "cookies" are client side, not the server side. You will have to learn Javascript first. To incorporate with PHP, simply echo the script out to the HTML page.
Jump to PostYou're missing a ] in the conditional statement in line 10
This script will return an error due to cookie not set on line 16. It should work on page reload though.
All 6 Replies
Taywin
312
Posting Virtuoso

diafol
matrixdevuk
71
6t9.me Founder

diafol
matrixdevuk
commented:
Good eye.
+3
matrixdevuk
71
6t9.me Founder
soomro_moon
0
Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.