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. :-) 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; } Link to comment https://forums.phpfreaks.com/topic/182534-simple-if-_cookiebla-bla/#findComment-963429 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.