Wert wo 1 % wegsoll mal 0,01.
Dann Wert Minus das Ergebnis von oben.
Hoffe dir gings nur um das mathematische Problem.
MfG
Wert wo 1 % wegsoll mal 0,01.
Dann Wert Minus das Ergebnis von oben.
Hoffe dir gings nur um das mathematische Problem.
MfG
Einfach in einen cron einfügen der nur einmal täglich läuft:
Geht nur wenn die spalte einen Zahlentyp ist (double decimal int tyniint etc ) also kein Vachar char enum etcPHP-Code:
db_query("UPDATE `vms_TABELLENNAME` SET `SPALTE` = `SPALTE` * 0.99 ");
SwissNetWorX - VMS Hosting / V-Server / Cloud-Server / Hosting