Re: way to write mysqli result set to disk
| From: | Curt Zirzow | Date: | Thu, 26 Jan 2006 01:24:24 +0000 |
| Subject: | Re: way to write mysqli result set to disk | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-229282@lists.php.net to get a copy of this message | ||
On Wed, Jan 25, 2006 at 03:39:38PM -0800, jonathan 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.
Mysql can do all this for you.. see:
http://mysql.com/sql_cache
Curt.
--
cat .signature: No such file or directory