On 30/04/2004, at 1:47 PM, Curt Zirzow wrote:

foreach(array_slice($filenames, 0, 2) as $filename) {
  $files[] = "path/to/" . $filelname;
}

Ahhhhhh array_slice() is EXACTLY what I was looking for :)



--- Justin French http://indent.com.au

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to