bahamont Posted May 23, 2014 Share Posted May 23, 2014 Estoy intentando recuperar eun valor de la base de datos, pero me da un error en la priera linea y no se porque. ¿Alguien puede ayudarme? $compID = $this->comprobarID($id_product); public function comprobarID($id_product) { return Db::getInstance()->execute(' SELECT id_attribute FROM `'._DB_PREFIX_.'attribute_impact` WHERE `id_product` ='.$id_product); } Link to comment Share on other sites More sharing options...
Recommended Posts