As a side note, you don't need to get, then do a replace or a set depending on weather or not the value is in memcached., you can always just set which will blindly set the value regardless of if it was there before or not.
>if ($mch->get('news:1234')
>{
> $mch->replace('news:1234', $result);
>}
>else
>{
>$mch->set('news:1234', $result);
>}
becomes
$mch->set('news:1234',$result);
--
Jehiah
