hi,
ich weiße öfters z.b. in Schleifen ner variablen nen wert zu indem ich variablenname += wert mache....
jetzt habe ich ein array und will das tun... arrayname[key] += wert...
das funktioniert aber irgendwie nicht? jemadn ne ahnung warum?
Code?
Die "Langversion"
arrayname[key] = arrayname[key] + wert
sollte auf jeden Fall funktionieren.
gruß,
wahsaga
--
/voodoo.css:
#GeorgeWBush { position:absolute; bottom:-6ft; }
/voodoo.css:
#GeorgeWBush { position:absolute; bottom:-6ft; }