by mac munshi.
how can to use distinct clause in the following query function
function get_recordset_select($table, $select='', $sort='', $fields='*', $limitfrom='', $limitnum='').