if($_REQUEST['do']=="index") { $vbjclass= new vbjournal(); $cache= $vbjclass->cache_journals(); print_r ($cache); $journals= $vbjclass->grabjournals($cache); }