chrisxm Posted October 29, 2010 Share Posted October 29, 2010 Bonjour,tous les matins, je procède manuellement à une mise à jour de ma BDD via Phpmyadmin à l'aide des commandes suivantes : UPDATE ps_product SET id_carriercateg=11 WHERE price>=0 UPDATE ps_product SET id_carriercateg=9 WHERE price>=50 UPDATE ps_product SET id_carriercateg=8 WHERE price>=200 UPDATE ps_product SET id_carriercateg=7 WHERE price>=450 UPDATE ps_product SET id_carriercateg=19 WHERE price>=600 UPDATE ps_product SET id_carriercateg=6 WHERE price>=750 UPDATE ps_product SET id_carriercateg=20 WHERE price>=900 UPDATE ps_product SET id_carriercateg=21 WHERE price>=1100 UPDATE ps_product SET id_carriercateg=22 WHERE price>=1500 N'etant pas bon en programmation , est ce que quelqu'un pourrait m'aider à créer un fichier PHP que je lancerais via un Cron tous les matins ?Merci à tousChrisEdit : Finalement , j 'y suis arrivé 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