How to compare data in a relationship table with the main table without using more than one loop?
I had this problem where I had to get all the names from one table and get relation from another table and check if the relationship exists or not and if it exists, the checkbox must be checked. Let me clear the problem first. I need to show all the categories of the posts. So …