Hallo, wahsaga
Danke für Deine Antwort.
Zitat: Hast du das mal im Manual deines Datenbanksystems nachgeschlagen?
Wenn ich die Lösung hätte würde ich mir nicht erlauben hier im Hilfe Forum eine Frage zu stellen . ;o)
Dennoch hilft mir Deine oberflächliche Anwort nicht weiter.
Ich bitte Dich etwas deutlicher zu werden.
Das habe ich versucht:
Updatewerte:
$insertkey ="b";
$neuanzahl ="3";
Spaltenanzahl = 3
id | key1 | anz
Spalten Inhalt
id=1
key1 = "a,b,c"
anz = "2"
UPDATE test\_it
SET
anz = '(files + ".$neuanzahl.")',
IF(FIND_IN_SET('$endung', key1) > 0, key1 = CONCAT_WS(',',key1,'".$insertkey."'))
WHERE id =1
Simone