in reply to array search on mysql result

Crossposted at StackOverflow. It's considered polite to inform about crossposting, so people not attending both sites don't waste their efforts hacking a solution to a problem already solved at the other end of the Internet.
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ