On 14-May-2004 Chuck Barnett wrote:
Anyone have any code snippits that would allow me to do a Last 3
Items
Viewed like on ebay?
array_unshift($items, $new);
$items = array_slice($items, 0, 3));
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always
Chuck Barnett mailto:[EMAIL PROTECTED]
on Friday, May 14, 2004 10:42 AM said:
Anyone have any code snippits that would allow me to do a Last 3
Items Viewed like on ebay?
no but i can give you a suggestion as to a method...
each time someone views an item do a first-in-last-out rotation of
2 matches
Mail list logo