I set my cookie on a previouse page, this page here i call it and set it to a var, then when i echo it it says undefined var. Just curious.. im missing something simple here.. not sure what it is. Cookie is set, i verified that. and if i echo the cookie directly it works fine, its just when i echo the var that i assigned cookie value to that is undefined. any advise is greatly appreciated. thanks
<html>
<head></head>
<body>
<?php
if(isset($_COOKIE["num_tape"]) ){
$num_tape= $_COOKIE["num_tape"];
$supplies= TRUE;
}
Echo $num_tape;
?>
</body>
</html>