Welcome to WebmasterWorld Guest from 54.167.29.254

Forum Moderators: open

Message Too Old, No Replies

Multiple values async from database with php

categorize search results async

     
6:59 pm on Oct 19, 2011 (gmt 0)

Junior Member

5+ Year Member

joined:Nov 20, 2009
posts: 98
votes: 0


Hi Guys,
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.

thanks