symfony - Doctrine 2 manyToMany relation Selecting Entity with AND -
Get link
Facebook
X
Pinterest
Email
Other Apps
I am creating a website that needs the ability to filter villa based on their options. For example: A villa has options: Wi-Fi, pool, animal permissions
I am giving the option of filtering: Wi-Fi and the pool. Now a filtered list of villas based on these two options is required. Therefore I only want the villa to have both Wi-Fi and pool
My villa institution looks like this:
resolved :
OK, So I understood that I was on the right track with my code, but it needed a bit of salt, apparently after you have selected all the options, you have to check that The amount of filter is the same as the amount of filter given by you. What really came to mind when I stepped up my step in MySQL
Comments
Post a Comment