Re: [PHP] Array to $_GET variable

2004-11-12 Thread Curt Zirzow
* Thus wrote Mike Smith: > I am trying to cache a database recordset so users can sort, etc > without hitting the database everytime. I'm using ADODB to access a > MSSQL database. I wouldn't even bother with this. No matter what you do your going to have to retreive the data somewhere, aka sessio

RE: [PHP] Array to $_GET variable

2004-11-10 Thread Zareef Ahmed
Hi, Yes it is a good idea to store this value in $_SESSION array. $_GET value sometime (depend on php setting) add slashes to all values, Those slashes will create the problem at the time of unserialization. Doing urlencode and decode also can be help full but in my view $_SESSION are best wa

Re: [PHP] Array to $_GET variable

2004-11-10 Thread Marek Kilimajer
Mike Smith wrote: I am trying to cache a database recordset so users can sort, etc without hitting the database everytime. I'm using ADODB to access a MSSQL database. $s = "SELECT id, part, description FROM parts\n"; $r = $db->Execute($s); $parts = array(id=>array(),part=>array(),desc=>array()) whi