4
it sounds like the module code that's the issue.
if a select query is returned as Array, then make sure you are listing the results as an array.
without seeing the relevant code of the module etc it's hard to diagnose from here without even more info.
what query/statement are you using to get the data from the db?
a simple query in a module might be:
$sql = $xoopsDB->query("SELECT uname, email FROM ".$xoopsDB->prefix('users')." WHERE uid=$uid");
list($username, $useremail) = $xoopsDB->fetchRow($sql);
$username would then be the result of uname etc..