Cual te funciona y cual no?
Pues has el extract
Código PHP:
$result1 = mysql_query ("SELECT .....") or die (mysql_error());
$result2 = mysql_query ("SELECT .....") or die (mysql_error());
$fila_result2 = mysql_fetch_assoc($result2);
echo '<table>';
while ($rows = mysql_fetch_array ($result1)) {
echo '<tr>';
echo '<td>'.$rows[$contador].'</td>';
echo '<td>'.$fila_result2[$contador2].'</td>';
echo '</tr>';
mysql_fetch_assoc($result2));
}
echo '</table>';