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

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -