Hi all,
I try to make a search engine that will search on three tables and with multiple fields. Something like this:
<form method="POST" action="<?=$PHP_SELF?>">
Name: <input type="text" name="name"><br>
Position: <input type="text" name="position"><br>
Country: <input type="text" name="country"><br>
<input type="submit" value="Search!">
</form>
And this is the three tables that form will search:
NAME
id int (primary key)
name varchar
id_position int
id_country int
-----------------------------------
POSITION
id int (primary key)
position_name varchar
-----------------------------------
COUNTRY
id int (primary key)
country_name varchar
I dont know how can make this select 🙁 Anyone can help me?