I'm doing a database query in a page, and afterwards I want to store an id - I thought I could do it in $_COOKIE?
But it doesn't seem to work to just create a parameter and set a value to it, like:
$_COOKIE['member_id'] = $wpdb->insert_id;
How can I simply add a key and value to the cookie array?