// Print Cookie vars. print_r($_COOKIE);// Print Session vars. foreach($_SESSION as $key => $value) { echo 'Current session variable ' . $key . ' is: ' . $value . '<br />'; }
Put this at the top of index.php in a new line after the <?phpCode: [Select]// Print Cookie vars. print_r($_COOKIE);// Print Session vars. foreach($_SESSION as $key => $value) { echo 'Current session variable ' . $key . ' is: ' . $value . '<br />'; }You can't just simply add global user functions to the DB and not include "Their preferences" in SESSIONS or cookies.It will show you what they have, and then you have to determine what's missing at least in the session, because you don't have cookies.