Hi Johannes, > Ich habe dieses Array: > > $NewsPID = array( > 'www.domain1.de' => array(1,2,3,4), > 'www.domain2.de' => array(5,6,7,8) > ); > > Wie muss auf dieses Array zugreifen um den Wert '1' auszulesen, wenn > die aktuelle Domain 'www.domain1.de' ist? > > $NewsPID[$_SERVER['HTTP_HOST'][0] => 'newsDetailConfiguration' > > Geht das so, ist das so richtig?
So müsste es richtig sein: $NewsPID[$_SERVER['HTTP_HOST']][0] Viele Grüße Marco _______________________________________________ TYPO3-german mailing list TYPO3-german@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german