> If you think there's a better way of doing it I would like to hear it.
>
> However this is resulting in an Parse error on the foreach line:
>
> foreach(array_slice($z['distance'], $start, 10)) {
> $newuser = $z['user'][$k];
> echo $newuser . " - " . $v . "<br>";
> }
"foreach" needs an "as", probably that was meant to say:
foreach(array_slice($z['distance'], $start, 10) as $k => $v) { ...
---------------------------------------------------------------------
michal migurski- contact info and pgp key:
sf/ca http://mike.teczno.com/contact.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php