i already used the code setcookie('variable', $variable, time blabla)

then retrieving it by $_COOKIE('variable')

but it doesnt work.

what am i doing wrong?