Ver Mensaje Individual
  #3 (permalink)  
Antiguo 16/03/2015, 14:06
jluishuaman
 
Fecha de Ingreso: marzo-2015
Ubicación: Peru
Mensajes: 34
Antigüedad: 9 años, 1 mes
Puntos: 6
Respuesta: Esta vacio mi arreglo GET

Si tu pin_cod es un int prueba con sacar de las comillas el get, $sql="select ... from pinturas where pin_cod=".$_GET['cod'];

si el pin_cod es un varchar, char entonces tienes que cerra con comillas simples: $sql="select ... from pinturas where pin_cod='".$_GET['cod']."'";

Espero te sirva.