title: Why Isn't This Query Caching When Using PHPFastCache?
body: <p>I am trying to cache a query on a page using <a href="http://www.phpfastcache.com/" rel="nofollow">http://www.phpfastcache.com/</a>.</p>
  
  <p>I am getting no errors on the page, and the files are being created successfully in the cached.storage folder that it needs, but when I change data in a query, it is not caching the data. What am I doing wrong?</p>
  
  <pre><code>include_once("php_fast_cache.php");
  phpFastCache::$storage = "auto";
  
  $getItemsQuery = phpFastCache::get("$itemId");
  if($getItemsQuery == null) {
      $getItemsQuery = mysql_query("select item_id, item_name from items where item_id = $itemId");
      phpFastCache::set("$itemId", $getItemsQuery,86400);
  }
  </code></pre>