hi all,
im working on a forum (http://xhawk.net/discussion) it would be cool to have all posts but the ones the user has read be marked *new. i cant seem to get this to work. heres what ive tried.
- array holds all post ids that the user has viewed.
- set a cookie that holds the array.
- then use in_array($viewed, $post_id) to determine if new should be displayed
if i hard code the post ids into the variable that holds the viewed ids it works fine, but not if i try to add to the array as the user goes through the forum...
thoughts, suggestions, etc?
-paul
http://xhawk.net