Jump to content

Code sql vers php

Recommended Posts



j'aimerai savoir comment écrire le code sql suivant en php:

UPDATE `ps_orders` INNER JOIN `ps_order_carrier` 
ON ps_orders.id_order=ps_order_carrier.id_order 
SET `ps_orders`.`shipping_number` =`ps_order_carrier`.`tracking_number` 
WHERE `tracking_number` IS NOT NULL

ce code copie les numéros de suivis de la table ps_order_carrier vers ps_orders.




Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...