Ver Mensaje Individual
  #4 (permalink)  
Antiguo 11/11/2004, 10:35
Avatar de claudiovega
claudiovega
 
Fecha de Ingreso: octubre-2003
Ubicación: Puerto Montt
Mensajes: 3.667
Antigüedad: 20 años, 6 meses
Puntos: 11
Si se puede, podrias hacerlo asi, sin include:

$sqlcliente="select * from clientes where idcliente='$busqueda'";
$rscliente=mysql_query($sql,$link);
while($filacliente=mysql_fetch_array($rscliente))
{
//escribe datos del cliente
....

$sqlpedido="select * from pedidos where idcliente='$busqueda'";
$rspedido=mysql_query($sqlpedido,$link);
while($filapedido=mysql_fetch_array($rspedido))
{
//escribe datos del pedido
.....

}
}