What I am trying to do is create a block that will display what the user uploaded (as far as videos, sounds and blogs) filtered by category. This gives me a Resource id #167
This is what I wrote so far for the sounds part:
$iProId = $this->oProfileGen->_iProfileID;
$sCat = mysql_query("SELECT genres from Profiles WHERE ID = " . $iProId);
$sMedia = BxDolService::call('sounds', 'get_files_in_cat', array($iProId, 'Hip Hop/Rap'), 'Search');
print_r($sCat);