Jump to content


Photo

Forum question


  • Please log in to reply
2 replies to this topic

#1 Brandon Jaeger

Brandon Jaeger
  • Members
  • PipPipPip
  • Advanced Member
  • 155 posts
  • LocationPA
  • Age:25

Posted 27 April 2006 - 06:34 AM

How would I do this?

e.g:
When no new posts:[img src=\"http://www.phpfreaks.com/forums/style_images/1/bf_nonew.gif\" border=\"0\" alt=\"IPB Image\" /]
else: [img src=\"http://www.phpfreaks.com/forums/style_images/1/bf_new.gif\" border=\"0\" alt=\"IPB Image\" /]

Hopefully you understand what I mean.

Thanks!
PHP is my friend (=

#2 koencalliauw

koencalliauw
  • Members
  • PipPipPip
  • Advanced Member
  • 36 posts

Posted 27 April 2006 - 06:41 AM

When do you consider posts to be 'new'?

#3 Brandon Jaeger

Brandon Jaeger
  • Members
  • PipPipPip
  • Advanced Member
  • 155 posts
  • LocationPA
  • Age:25

Posted 27 April 2006 - 06:44 AM

Well I want the "new posts" image to show when the user hasn't read that post within say 24 hours.

Edit: Nevermind. I'm just going to insert a timestamp and check from there (global).
PHP is my friend (=




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users