Welcome to WebmasterWorld Guest from

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)

5+ Year Member

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.


Featured Threads

Hot Threads This Week

Hot Threads This Month