website logo
Auteur
avatar
Hotfirenet

Forum » » Le coin des codeurs » » convertir une commande sql en php pour etre executée en tache cron


Posté : 12-10-2011 09:55 icone du post

mysql -h hostname -u username -ppassword -e "UPDATE `taBase`.`pos ts` SET `post_aff` = 0  WHERE poster_id =1493 and post_id >216028" < br />


Message édité par : Hotfirenet / 12-10-2011 10:03


Cet article provient de NPDS REvolution 16
https://lab.grottes-et-karsts-de-chine.org/viewtopic.php?topic=25178&forum=5