Hello,
man könnte die Sache etwas universeller angehen. Belege deine Buttons/Formulareelemente mit einem tatsächlichen Wert, z.B. -1 für den minus_t-Button.
Prüfe im Skript lediglich, ob du einen gültigen Wert empfangen hast (und nicht z.B. -99.999) und überlasse die Berechnung dem Buttonwert:
$sql = "UPDATE $TableNews SET Tutorials = '".($_POST["Tutorials"]+$_POST["update_value"] WHERE ID = '".$_REQUEST['ID']."'");
Wie gesagt, unbedingt vorher die Werte prüfen, sonst fängst du dir da schnell ungewollte Änderungen ein.
MfG
Rouven
--
-------------------
Computer programming is tremendous fun. Like music, it is a skill that derives from an unknown blend of innate talent and constant practice. Like drawing, it can be shaped to a variety of ends: commercial, artistic, and pure entertainment. Programmers have a well-deserved reputation for working long hours but are rarely credited with being driven by creative fevers. Programmers talk about software development on weekends, vacations, and over meals not because they lack imagination, but because their imagination reveals worlds that others cannot see. -- Larry OBrien and Bruce Eckel in Thinking in C#
-------------------
Computer programming is tremendous fun. Like music, it is a skill that derives from an unknown blend of innate talent and constant practice. Like drawing, it can be shaped to a variety of ends: commercial, artistic, and pure entertainment. Programmers have a well-deserved reputation for working long hours but are rarely credited with being driven by creative fevers. Programmers talk about software development on weekends, vacations, and over meals not because they lack imagination, but because their imagination reveals worlds that others cannot see. -- Larry OBrien and Bruce Eckel in Thinking in C#