As you can see in the image below, I have the Property (mysql) table that relates to the Type, Neighborhood, and City tables.
WhatIneedisthefollowing:
Youhaveatextfieldtoperformasimplesearchandanythingcanbetyped.Assumeausertype"São Bernardo do Campo", the system will look in the Type, Neighborhoods and Cities tables until in the "name" column the word is entered and if it finds, it picks up the ID and it makes a loop comparing with its ID in the table Real Estate and returns all occurrences found.
I'd like to do with INNER JOIN, but I'm having trouble understanding.
Thanks for any help.