I am using the following SQL query:
Select * from table1 as t1, table2 as t2 where t1.id = t2.col
but my problem is that both the tables have fields with same name, place
.
So how can I select the column with name place
from table2
in my PHP code?
I want to use the following php code
while($row_records = mysql_fetch_array($result_records))
{
<? echo $row_records['place']; ?>
}
How can I fetch the field from particular table?