On 28/02/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Can anyone comment and fix this error
Warning: usort(): The argument should be an array in
/home2/wwwabcde/public_html/search/searchfuncs.php on line 300
[...]
usort($res, cmp);
Put a print_r($res) above
$row[4];
$res[$i]['size'] = $row[5];
$res[$i]['weight'] = $result_array[$row[0]];
$i++;
}
usort($res, cmp);
echo mysql_error();
$res['maxweight'] = $maxweight;
$res['results'] = $results;
return $res;
/**/
}
?
That's not enough, we need the part that sits above and
2 matches
Mail list logo