Geek
Mitglied
Hallo!
Ich habe ein lokales assoziatives Array $attribute, zudem ich neue Wertepaare hinzufügen will.
$attripaar wird aus einer Textdatei ausgelesen und steht in der Form attribut:wert.
Fehlermeldung: Parse error
Ich hoffe, ihr könnt mir helfen.
Vielen Dank im Voraus,
Geek
Ich habe ein lokales assoziatives Array $attribute, zudem ich neue Wertepaare hinzufügen will.
$attripaar wird aus einer Textdatei ausgelesen und steht in der Form attribut:wert.
PHP:
...
$attripaar = explode(":",$value);
array_push($attribute,$attripaar[0] => $attripaar[1]); // Speicherung in lokalem assoziativem Array $attribute
...
Fehlermeldung: Parse error
Ich hoffe, ihr könnt mir helfen.
Vielen Dank im Voraus,
Geek