It may be better to go ahead and convert it to an array, or something that can be handled more quickly when the cache is pulled than interpreting the result again and again and again... Really dont know, just a thought. On 1/25/06, jonathan <news_php@xxxxxxxxxxxx> wrote: > > is there a way to write a mysqli result set to disk via > file_put_contents or fwrite. it looks like we'd have to convert it to > an array and then handle the array upon bringing it back in. I'm > interested in writing a simple caching mechanism where sql results > would be cached. > > thanks, > > jonathan > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >