Ver Mensaje Individual
  #4 (permalink)  
Antiguo 02/07/2007, 15:20
Avatar de TolerantX
TolerantX
 
Fecha de Ingreso: marzo-2006
Ubicación: Guadalajara, México.
Mensajes: 408
Antigüedad: 18 años, 1 mes
Puntos: 10
Re: consultas simultaneas

Código PHP:
$result1 mysql_query ("SELECT .....") or die (mysql_error());
$result2 mysql_query ("SELECT .....") or die (mysql_error());

echo 
'<table>';

while (
$rows mysql_fetch_array ($result1)) {

echo 
'<tr>';
echo 
'<td>'.$rows[$contador].'</td>';
echo 
'<td>'.$rows2[$contador2].'</td>';
echo 
'</tr>';
mysql_fetch_assoc($result2));
}        

echo 
'</table>'
Siempre arrojan el mismo número de resultados ambas consultas?
__________________
TolerantX
http://tolerantx.com
Linux User #385226