Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need an If/Else Statement
#3
Sent you a PM.

Something like
PHP Code:
if($difference != 0) {
//do nothing. Users can login and register all they want.
}else{
//Login and Activation are not allowed. Prints "Sorry, but the round is over. Please stand by while the admin restarts the game."


Or an easier way to do that if there is one.

Or maybe it will display the login if $difference != 0, else login form and registration link are not displayed, but the above message (or a different one if I edit it) is displayed.
Do you know how to make games? Do you know 3d Modeling? If so then visit
[Image: logo.png]
Reply


Messages In This Thread
Need an If/Else Statement - by Grizzly - 12-05-2009, 07:03 PM
RE: Need an If/Else Statement - by Gaijin - 12-05-2009, 07:18 PM
RE: Need an If/Else Statement - by Grizzly - 12-05-2009, 07:29 PM
RE: Need an If/Else Statement - by Gaijin - 12-05-2009, 07:48 PM
RE: Need an If/Else Statement - by Spl3en - 12-06-2009, 07:01 AM
RE: Need an If/Else Statement - by Grizzly - 12-10-2009, 06:43 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  PHP: If Statement BreShiE 19 6,611 04-16-2019, 09:38 AM
Last Post: joeywilliams

Forum Jump:


Users browsing this thread: 1 Guest(s)