Ver Mensaje Individual
  #5 (permalink)  
Antiguo 13/12/2008, 19:15
Avatar de Ronruby
Ronruby
 
Fecha de Ingreso: julio-2008
Ubicación: 18°30'N, 69°59'W
Mensajes: 4.879
Antigüedad: 15 años, 9 meses
Puntos: 416
Respuesta: Hacer consulta a dos tablas al mismo tiempo con datos diferentes

Código PHP:
mysql_fetch_assoc($resultado$resultado2
O_O Pero, si eso no existe.

Código PHP:
<?php
while($row mysql_fetch_assoc($resultado) && $row2 mysql_fetch_assoc($resultado2)) {
  
//accion
}
?>
http://php.net/
http://www.php.net/manual/es/functio...etch-assoc.php