Ver Mensaje Individual
  #8 (permalink)  
Antiguo 08/04/2016, 13:11
robertocarrillo
 
Fecha de Ingreso: septiembre-2014
Mensajes: 79
Antigüedad: 9 años, 8 meses
Puntos: 0
Respuesta: select + array + for de ids

Ya lo solucioné gracias a tu importantísima ayuda:

Código PHP:
foreach ($Calle1 as $Calless1 => $keyk1)
foreach (
$Calle2 as $Calless2 => $keyk2)
{
$stmt $conexion2->prepare('SELECT dato FROM datos WHERE calle1 =:calle1 AND calle2 =:calle2');
$stmt -> bindValue(':calle1',$keyk1);
$stmt -> bindValue(':calle2',$keyk2);
$stmt->execute();
while(
$datosca $stmt->fetch())
{
$dato[]= $datosca["dato"];
}


Muchísimas gracia!!!!!!!