Filtering data with multiple checkboxes

This is an excellent tutorial but I have one small issue. The database (I’ve inherited it from a Wordpress site) has the array stored with the pipe ( | ) separator, eg. Single|Double|Parking. The checkboxes are dynamic (I’ve got those working fine) but I think the issue is because the array is being sent comma-separated but the database is pipe-separated.

How can I fix this?

Community Page
Last updated: