'; ?> getResourcesByType('millionaire', array('resourceID' => $_GET['rid'])); if ( count($objs) > 0 ) { $obj = $objs[0]; $data = $obj->getQuestions(); foreach ($data as $lvl => $d) { print ''; print ''.$d['ca'].''; print ''; } } } } ?>