can someone help me how to display multiple records from different table in mysql??...by the way i'm using the include function in php to view a record from a different page..is there another way rather than mysql_fetch_array to get the records??..
can i do this??
sample:
$result1 = mysql_query("SELECT * FROM dbName1"
;
$result2 = mysql_query("SELECT * FROM dbName2"
;
while($row1 = mysql_fetch_array($result1))
{
//statement here
}
while($row2 = mysql_fetch_array($result2))
{
//statement here
}