gatheck Posted June 3, 2014 Share Posted June 3, 2014 Salut, j'aimerais avoir une explication de la requette suivante: Db::getInstance()->Execute('UPDATE '._DB_PREFIX_.'product SET ean13 = \''.$barcode.'\' WHERE (ean13 IS NULL OR ean13 = "" OR ean13 = 0) AND id_product = \''.$id.'\''); cordialement; Link to comment Share on other sites More sharing options...
Szed Posted June 3, 2014 Share Posted June 3, 2014 La requête met à jour le champ ean13 de la table ps_product si il est vide/null/égale à 0, selon l'id d'un produit particulier. 1 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