I have a question, if it's possible actually to do something...
e.g. $query = "SELECT tbl1.* FROM tbl1, tbl2 WHERE tbl1.field1=tbl2.field1";
taking the tbl1.field1=tbl2.field2, i need something like tbl1.field1 LIKE '%tbl2.field1%'
could that return some results?