Hi there,

I am trying to reduce an array to n values if it is more than n values.

eg.

$level_depth = 3;
$test = array('banana', 'super', 'php', 'car');

# some array function which is deleting  the last item ( car) if existant

Thanx for any help,

Andy



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

Reply via email to