beginner's MySQL/memcache/PHP question

mike mike503 at gmail.com
Wed Nov 7 23:44:15 UTC 2007


On 11/7/07, Josh Meyer <jmeyer at msg.ucsf.edu> wrote:

    $memcache->set($memcache_key,mysqli_fetch_assoc($result),TRUE,86400)
or die ("Failed to
> save data at the server");

> Should I massage $result into something else before sticking it into
> $memcache->set()?

yeah, you need to convert it to an array or object first, you can't
use a resource type for that.


More information about the memcached mailing list