mysqli_result Object ( [current_field] => 0 [field_count] => 21 [lengths] => [num_rows] => 0 [type] => 0 ) SELECT * FROM ((SELECT *,5 as relevance FROM location WHERE city LIKE 'vanl����se') UNION (SELECT *,4 as relevance FROM location WHERE altnames LIKE '%vanl����se%')) a ORDER BY relevance desc;
1