Re: [PHP] way to write mysqli result set to disk

2006-01-26 Thread John Nichel
James Benson wrote: jonathan wrote: hmm is this a mysql 5 feature. could be interesting but haven't heard much about it. You cannot see the mysql 5 plastered all over the page? I can see at least 5 different sections that say MySQL 5

[PHP] way to write mysqli result set to disk

2006-01-25 Thread jonathan
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,

Re: [PHP] way to write mysqli result set to disk

2006-01-25 Thread Curt Zirzow
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

Re: [PHP] way to write mysqli result set to disk

2006-01-25 Thread jonathan
hmm is this a mysql 5 feature. could be interesting but haven't heard much about it. -j On Jan 25, 2006, at 5:24 PM, Curt Zirzow wrote: 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

Re: [PHP] way to write mysqli result set to disk

2006-01-25 Thread James Benson
jonathan wrote: hmm is this a mysql 5 feature. could be interesting but haven't heard much about it. You cannot see the mysql 5 plastered all over the page? I can see at least 5 different sections that say MySQL 5 James -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] way to write mysqli result set to disk

2006-01-25 Thread David Hall
James Benson wrote: jonathan wrote: hmm is this a mysql 5 feature. could be interesting but haven't heard much about it. You cannot see the mysql 5 plastered all over the page? I can see at least 5 different sections that say MySQL 5 you obviously don't use the mysql website

Re: [PHP] way to write mysqli result set to disk

2006-01-25 Thread PHP Superman
couldn't you serialize the data and store it? On 1/25/06, David Hall [EMAIL PROTECTED] wrote: James Benson wrote: jonathan wrote: hmm is this a mysql 5 feature. could be interesting but haven't heard much about it. You cannot see the mysql 5 plastered all over the page?

Re: [PHP] way to write mysqli result set to disk

2006-01-25 Thread Russell Jones
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 [EMAIL PROTECTED] wrote: is there a way to write a

Re: [PHP] way to write mysqli result set to disk

2006-01-25 Thread Curt Zirzow
On Wed, Jan 25, 2006 at 09:51:15PM -0500, PHP Superman wrote: couldn't you serialize the data and store it? you could, but the purpose of my reply to the OT is that there are other solutions to caching instead of inventing your own Caching things isn't the simplest of things, consider how much

Re: [PHP] way to write mysqli result set to disk

2006-01-25 Thread Curt Zirzow
On Thu, Jan 26, 2006 at 02:11:02AM +, James Benson wrote: jonathan wrote: hmm is this a mysql 5 feature. could be interesting but haven't heard much about it. You cannot see the mysql 5 plastered all over the page? The link i gave is designed to give information about the

Re: [PHP] way to write mysqli result set to disk

2006-01-25 Thread Curt Zirzow
On Wed, Jan 25, 2006 at 05:22:35PM -0800, jonathan wrote: hmm is this a mysql 5 feature. could be interesting but haven't heard much about it. No, the link i gave just does a redirect to the current stable release documentation, mysql has docs for the major releases and what each one