Re: [PHP] Problem while retrieving data from cookie with unserialize

2003-06-21 Thread Tom Rogers
Hi, Friday, June 20, 2003, 7:42:48 AM, you wrote: SÖ> Hi, I’m having this problem: SÖ> I set a cookie using this: SÖ> $sql = "UPDATE member SET cookie=$cookie WHERE SÖ> ". SÖ> "id = $this->id"; SÖ> $this->mysql->query($sql

[PHP] Problem while retrieving data from cookie with unserialize

2003-06-19 Thread Sævar Öfjörð
Hi, I’m having this problem: I set a cookie using this: $sql = "UPDATE member SET cookie=$cookie WHERE ". "id = $this->id"; $this->mysql->query($sql); $cookie = urlencode(serialize(array($_SESSION['u