ok..
that function is a user defined function found in \phpMailOut-0.1\lib\database.class.php
function fetch_assoc_db($result) {
global $config;
if ($config['db_type'] == 'mysql') {
$assoc_array = mysql_fetch_assoc($result);
} elseif ($config['db_type'] == 'pgsql') {
$assoc_array = pg_fetch_assoc($result);
}
return $assoc_array;
}
i looked up both mysql_fetch_assoc and pg_fetch_assoc function.
it seems that pg_fetch_assoc won't work under 4.2.x.. it only works from (PHP 4 >= 4.3.0)
so if you are using postgres db you probably will have troubles.
i've never messed with postgres so i don't know the fix.
here's the reading material where i found the info:
http://us3.php.net/manual/en/function.pg-fetch-assoc.php
http://us3.php.net/manual/en/function.mysql-fetch-assoc.php
someone might have a fix in the user comments, but i did not look for one.
also..... are you getting an error or were you just curious about that function?
good luck.