Boa tarde amigos!
Quando coloco o return $result aparece esse erro. Sem o return compila normalmente.
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'nome, email FROM cw_clientes
function DBRead($table, $params, $fields="*") {
$table = DB_PREFIX.’_’.$table;
$params = ($params) ? " {$params}" : null;
$query = "SELECT * {$fields} FROM {$table}{$params}";
$result = DBExecute($query);
return $result;
}