Multiple values async from database with php
I have a search feature that displays the number of results onblur. i.e. you type the query string and it would display "15 results available click search" using ajax, php and mysql.
I now want to add categorisation so in addition to showing how many results are available it should also say i.e.
"6 available in cat a"
"2 available in cat b" and so on upto 6 as well as total results available.
I cant seem to get ajax to pass more than one database result!
I cant find a solution using jquery any ideas appreciated.