I need some mysql code that uses a select output in LIKE statement in WHERE.
I mean something like this:
SELECT id FROM (SELECT id,parent_id FROM units WHERE ptitle
like '%(SELECT ptitle FROM units WHERE id='".$id."')%')
Thanks for your help.