From: "John Taylor-Johnston" <[EMAIL PROTECTED]> > I can do this, but want to understand how to while it: Or should I? > > $tempslices = explode("\r\n", $pizza); > foreach ($tempslices as $singleslice) > { > echo "<a href=\"http://www.foo.org$singleslice\">$singleslice</a> "; > } > > Still learning :)
There's no real reason to use while() over foreach(). Why do you think you need to use while()? ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php