php - search data refine by different category count and location count in mysql -


ex . search word phone in classified portal have refine result count(result found if talk category 5 in computer , 15 in automobile , if talk location 7 in germany , 13 in france) below

category

  1. computer (5)

  2. automobile(15)

location

  1. germany(7)
  2. france(13)

how query database . want show first 20 result need show data count category , location.


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -