Too big an array?
Posted: Wed Mar 01, 2006 7:14 am
I am writing a forum script and I want to use an array to store the users last visit to show what topics are new.
it would be in the format
$array[ topic id] -> [last visit]
from here I would check the date of the most recent post agains the users last forum visit array for that topic.
Would this array bcome too large and slow things down considerably.
Is there a better way to do this?
Thanks
it would be in the format
$array[ topic id] -> [last visit]
from here I would check the date of the most recent post agains the users last forum visit array for that topic.
Would this array bcome too large and slow things down considerably.
Is there a better way to do this?
Thanks