Looking to load a different template part on every load/refresh
You can use setcookie() to set a cookie that contains the array of visited headers. This is a simple example to start with: function header_cookies() { // Check if any cookie is set if(isset($_COOKIE[headers_visited])) { $headers = $_COOKIE[headers_visited]; // Now add your headers to cookie and save it again. Let’s remove the old one first … Read more