Gayner Posted November 22, 2009 Share Posted November 22, 2009 setcookie("skinid", 5, time()+60*60*24*60, "/"); I will use that, But.. now i want to make it so if $_COOKIE['skinid'] == "5" echo bla bal is that correct way? Will this work for every individual user? Cause i'll make a get function so that user clicks on button and changes skinid in cookie, like changing theme. :-) Quote Link to comment https://forums.phpfreaks.com/topic/182534-simple-if-_cookiebla-bla/ Share on other sites More sharing options...
dbillings Posted November 22, 2009 Share Posted November 22, 2009 if($_COOKIE['skinid'] == 5) { echo bla bla bla; } Quote Link to comment https://forums.phpfreaks.com/topic/182534-simple-if-_cookiebla-bla/#findComment-963429 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.