Ver Mensaje Individual
  #2 (permalink)  
Antiguo 11/04/2016, 07:43
robertocarrillo
 
Fecha de Ingreso: septiembre-2014
Mensajes: 79
Antigüedad: 9 años, 7 meses
Puntos: 0
Respuesta: array (que estoy haciendo mal)

Listo, ya está El error esta en no saber trabajar con arrays, jajajaja. Saludos.

Código PHP:
foreach ($Calle2 as $CallesF2 => $dato)
{   
$stmt $conexion2->prepare('SELECT dato FROM datos WHERE calle1 = :callesName1 AND calle2 = :callesName2');
    
$stmt -> bindValue(':callesName1',$Calle1[$CallesF2]);
    
$stmt -> bindValue(':callesName2',$dato); 
__________________
Un perro no es perro por ladrar, sino por ser perro...