![]() |
[HELP!] Quick PHP question... please take a look someone
I am trying to make an if/else statement that deals with the last reply time of threads. I had this working a few hours ago but I've since had to restart by PC when it froze and now I can't figure out what I did to begin with :(
Here's my basic idea of what I am trying to do: PHP Code:
Is there a good place that shows the do's and don'ts of if/else statements???? Or can someone show me what I am doing wrong? Thanks! :) |
The main problem I'm having is that the first line, with the time in it isn't coded right apparently, because it's not recognising that I only want threads that have been replied to within the last 24 hours.
Even the simple: PHP Code:
Any ideas????? :( |
if you explain what you're really trying to do then maybe i can help.
|
Well I messed up the code up there a little but I have it all coded now.
I am trying to make it so guests can only view threads that have received replies within the last 24 hours. The code I had above was just my guess at what I should do but I then tried that and it didn't work... Do you know how I could do this? Here's what I have for the time checker: PHP Code:
https://vborg.vbsupport.ru/showthrea...threadid=51980 That's the hack I am trying to make this work with if that helps. Thanks for any help. :) |
Do you know how to do this??
|
:( ANyone??
|
All times are GMT. The time now is 10:43 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|