I’d like to display the total results of a query but it repeats for each result.
{exp:query sql="SELECT vehicles.make, vehicles.model FROM vehicles WHERE vehicles.make = 'Subaru'}
<div class="infomessage">{total_results} Vehicles Match Your Search</div>
{/exp:query}
If the query turns out 7 results, it display ‘7 7 7 7 7 7 7’. Is it possible to keep {total_results} from repeating?
Thanks for any help or suggestions.