Re: [PHP] Best way to do Last 3 Items Viewed

2004-05-19 Thread Don Read
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

RE: [PHP] Best way to do Last 3 Items Viewed

2004-05-14 Thread Chris W. Parker
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