hi,
wenn ich dann $allid ausgebe,
ist nur der letzte array-speicherplatz mit einem wert versehen.
$allid = array();
while ($row = mysql_fetch_array($ergebnis))
{
$id = $row["kid"];
$allid = array_pad($allid,1,"$id");
Hiermit _überschreibst_ du $allid jedes mal mit dem aktuellen Rückgabewert von array_pad().
Lies bitte http://www.php.net/manual/de/language.types.array.php
gruß,
wahsaga
--
/voodoo.css:
#GeorgeWBush { position:absolute; bottom:-6ft; }
/voodoo.css:
#GeorgeWBush { position:absolute; bottom:-6ft; }