hi,
$LAND_ARRAY ist ein array.
if(!is_array($ARRAY_LAND))
{
echo "NOT ISSET<br>";
$ARRAY_LAND = $LAND_ARRAY;
$_SESSION["ARRAY_LAND"] = $ARRAY_LAND;
hier erstellst du dir $_SESSION["ARRAY_LAND"] mit dem inhalt von $LAND_ARRAY, sofern $ARRAY_LAND nicht bereits ein array ist.
else
{
echo "ISSET TRUE<br>";
array_push ($_SESSION["ARRAY_LAND"], $LAND_ARRAY );
hier fügst du in das bestehende array $_SESSION["ARRAY_LAND"] ein neues element ein - welches als inhalt dann wiederum ein array hat (nämlich $LAND_ARRAY).
gruß,
wahsaga
--
/voodoo.css:
#GeorgeWBush { position:absolute; bottom:-6ft; }
/voodoo.css:
#GeorgeWBush { position:absolute; bottom:-6ft; }