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 'kr��slava') UNION (SELECT *,4 as relevance FROM location WHERE altnames LIKE '%kr��slava%')) a ORDER BY relevance desc;
1