RE: [PHP] Shorter way for "each"

From: Date: Wed, 10 Jan 2001 17:20:33 +0000
Subject: RE: [PHP] Shorter way for "each"
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-33709@lists.php.net to get a copy of this message
Hey Wico, > echo implode (' ', $array); this is quite a cool idea! For example echo "<option>" . implode("</option><option>", $my_array) . "</option>"; would save some time, printing out an select-group... Thanks a lot, also to all other people, who helped me. Mo.

« previous php.general (#33709) next »