Hi everyone,
I would like to ask your expertise.
The code writtten to search for a record(name) from multiple tables is this:
$query="SELECT * FROM `table1`,`table2` WHERE `table1.name,table2.name` like'". $_POST["searchword"]."' ;";
This is as far as I know. And the tables are independent of each other. But when the <search> is being tested, the error that appears is: "Could not connect: Unknown column 'table1.name,table2.name' in 'where clause' ".
What would be the possible solution for this?
Thanx in advance