note 53061 rejected from language.types.array by nlopess

From: Date: Fri, 10 Jun 2005 08:44:14 +0000
Subject: note 53061 rejected from language.types.array by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-90210@lists.php.net to get a copy of this message
Note Submitter: gremat at hotmail dot com ---- Hi, i started this tutorial today, but i don´t really get it. Need something more basic than that. Anyone knows a more basic tutorial for php. Most important with coments in the code: // Nun löschen wir alle Elemente, lassen das Array selbst // aber intakt: foreach ($array as $i => $wert) { unset($array[$i]); } Why?? Why doesn´t it work like: foreach ($array as $i) { unset($array[$i]); } thanks .gregor.

« previous php.notes (#90210) next »