hey guys, I was trying to do a join query and display results from both tables. I think I went wrong with the array syntax or was there another problem?
thanks.
$test=select * from tableA, tableB where tableAId = tableBId;
$query=mysql_query($test, $link_id) or die(mysql_error());
while($get=mysql_fetch_array($query))
{
echo "<tr class='style4'><td>".$query['tableA.ds']."</td><td>".$query['tableB.hy']."</td></tr>";
}