Daniel Posted February 18, 2020 Share Posted February 18, 2020 ESTOY TRATANDO DE REALIZAR UN UPDATE A LA TABLA PS_ORDER_PAYMENT DE LA SIGUIENTE FORMA: Db::getInstance()->execute( 'UPDATE ' . _DB_PREFIX_ . 'order_payment SET card_number = '.(int)$datos.' , card_brand = '.(int)$autoriza.' WHERE reference = \'' . $reference . '\'' ); SIN EMBARGO NO LO REALIZA DEBIDO A $order_reference YA QUE EN LAS DEMAS VARIABLES LE INDICO QUE ES UN INT PERO EN EL CASO DE LA REFERENCIA AL SER UN VARCHAR DE QUE FORMA DEBERIA INICIARLO YA QUE DEBIDO A ESO NO ME REALIZA LA ACTUALIZACION Link to comment Share on other sites More sharing options...
Euclides Posted February 18, 2020 Share Posted February 18, 2020 No tienes GUI? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now