Home › Forums › Front-end Issues › Multiple ID's in relationship field — LIKE query returns inappropriate posts › Reply To: Multiple ID's in relationship field — LIKE query returns inappropriate posts
@acf-support thanks for the attempt but that wasn’t it. I’ve tried a few different combinations.
So, here’s more details:
/register
is a page with ID of 2
/events
is a page with an ID of 127
.
The field in the database shows up as:
a:1:{i:0;s:3:"127";}
Isn’t it because the LIKE
query finds the ID of 2
(as well as the ID of 127
) are found in both spots?
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.