Jump to content

[SOLVED] PHP Cookies


s1yman

Recommended Posts

Hello all,

 

I was wondering if anyone knows how to activate a cookie upon clicking a button, I first of all tried putting it into a "onClick=" (using a href="javascript:refresh()") with no luck. . . I thought about using a pop-up window which sets the cookie then closes its-self. But that just looks messy.

Anyone got any better ideas?

 

Thank you.

Link to comment
https://forums.phpfreaks.com/topic/119993-solved-php-cookies/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.