Hello,
I'm trying to create a search engine for my databse. I be able to select multiple tables
$sql = mysql_query("SELECT * FROM table1, table2, table3 WHERE ...");
I was wondering if this even works?
If it does, how do I get rows from different tables?
while($row = mysql_fetch_array($sql)){
$fromtable1 = $row['column1'];
$fromtable2 = $row['column1'];
//etc..
}
Thanks