August 22, 2019
Create a Faceted Sort with PHP using array_count_values($array)
I was working on a project where there was about 200 records. I needed a simple way to show the categories each record belonged to in order for the user to narrow down the results based on the category they selected. This is generally known as Faceted Search.
• • •