Current time: 07-28-2014, 08:30 PM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 2 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] Need a bit PHP help
03-19-2012, 01:11 PM (This post was last modified: 03-19-2012 02:25 PM by mattias.)
Post: #1
[SOLVED] Need a bit PHP help
Hi,

Can someone tell me the correct if condition if at least one reply has been posted in a thread?

I tried if($thread['replies'] > 0), but it didn't work :(

I want to show "no replies" in the last reply column if a thread has no replies. Thanks.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
[SOLVED] Need a bit PHP help - mattias - 03-19-2012 01:11 PM
RE: Need a bit PHP help - Yaldaram - 03-19-2012, 01:45 PM
RE: Need a bit PHP help - mattias - 03-19-2012, 02:02 PM
RE: Need a bit PHP help - Yaldaram - 03-19-2012, 02:12 PM
RE: Need a bit PHP help - mattias - 03-19-2012, 02:23 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us | MyBB | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication