©
本文档使用 PHP中文网手册 发布
[#1] swapniltiwhane at gmail dot com [2014-06-18 09:31:39]
$memcache = new Memcache; //initialised memcahe
@$memcache->connect("127.0.0.1",11211); // connect memcahe server
$cache = getCache(md5("mysql_query" . $sql));
//get sql query if already cached in memcahe