'; ?> getResourcesByType('hangman', array('resourceID' => $_GET['rid'])); if ( count($objs) > 0 ) { print ''; } $obj = $objs[0]; $ex = $obj->getExerciseData(); print ''; foreach ($ex['words'] as $word) { print ''; } print ''; } ?>