note 42293 deleted from function.mysql-fetch-assoc by nlopess

From: Date: Tue, 11 May 2004 13:16:04 +0000
Subject: note 42293 deleted from function.mysql-fetch-assoc by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-69452@lists.php.net to get a copy of this message
Note Submitter: Jobasti@hotmail.com ---- Hier auch eine Function die leicht zu verstehen ist dazu. function listmails($mid) { global $prefix; $mailaddys = array(); $sql = mysql_query("SELECT * FROM lipmail WHERE aktiv='1'"); while ($result = mysql_fetch_assoc($sql)) { array_push($mailaddys, $result["mail"]); } foreach ($mailaddys as $key => $value) { echo $value."<br>"; } } } wobei ich nicht verstehe warum echo nicht das array so ausgibt ...

« previous php.notes (#69452) next »