Search results

  1. V

    if statement question

    LOL, Ya, that might make it a little shorter and easier. lol.
  2. V

    if statement question

    Ok, Thanks. :D. It is actually: (if $money == 5 && $level == 3) That's how it combines. :D.
  3. V

    if statement question

    I was wondering if you were able to do an if statement which would be something like: if ($money == 5) and ($lvl == 3) Something like that, that's just an example, but was just wondering, or is it like: if($money == 5; $lvl == 3) ?
  4. V

    Quick php question

    Ok, Thanks. Got rid of those, 1 thing down, more to go. lol. Edit: I still haven't figured it out, anybody know what I can do?
  5. V

    Quick php question

    I have another question for this, I am trying to get it to work with another form process, but can't get the {}'s to work out. <?php include("sheet.php"); ?> <table align="center" width="59%" border="1"> <tr> <td align="center"> <?php $endTime = $Variables['endtimefield']; $now =...
  6. V

    floor lvl help

    I don't want the exp to keep going to 0 though, Thanks all for the help. :D.
  7. V

    floor lvl help

    ah ok, know how I could get it to work so once they get to 300 or past it, it will update the level once and then stop? [closed]
  8. V

    Quick php question

    lol, Alright, thanks. :D.
  9. V

    floor lvl help

    <?php $woodcuttexp = $Exp['woodcuttingexp']; $newwoodcuttinglvl = $Levels['woodcuttinglvl'] + 1; $level = $newwoodcuttinglvl; if (floor($woodcuttexp > 320)){ echo '<font color="yellow">You have reached woodcutting lvl ' . $level . ' </font><br />'; mysql_query("UPDATE `Levels` SET...
  10. V

    Help me construct a php code!

    I am just wondering why you are trying to do this.
  11. V

    Help me construct a php code!

    "you should also change to server address in the script to localhost." Did you do that? You have something wrong in your connection to the database, so if you didn't switch it to localhost, try doing so like they advised.
  12. V

    Help me construct a php code!

    You might want to try changing the html page to a php page first. Also, what's with the html tags with no closings, or did you forget them, or accidently put the html beginning tags in?
  13. V

    Quick php question

    I just put an ending bracket like: if($endTime > $now) { } and it seems to run then. Just gotta fix the amount thing so it is correct and doesn't say you are not currently working. xD. Thanks for the help all. :D.
  14. V

    Quick php question

    <?php include("sheet.php"); ?> <table align="center" width="59%" border="1"> <tr> <td align="center"> <form name="counter"><p><input type="text" style="width:75px;" name="d2"></form> <?php $endTime = $Variables['endtimefield']; $now = time(); $diff = $endTime - $now; if($endTime >...
  15. V

    Quick php question

    Parse error: syntax error, unexpected $end
  16. V

    Quick php question

    Yes free, I think that is what I am after. Just gotta fix the error with it now and see if it works.
  17. V

    Quick php question

    It is part of another script or 2, but I messed it up and forgot to keep the original while I tried to get the $amount to work.
  18. V

    Quick php question

    <?php echo '<span style="color:#FFFFFF;">You are cutting ' . $amount . ' wood</span>'; ?>{ } else { <?php echo '<span style="color:#FFFFFF;">You are not currently working..</span>'; ?> } I know I have it messed up, but cant find the right way to fix it. :P.
  19. V

    Overall Updates

    Well Lotus is the one suffering now, and it's terrible. lol.
  20. V

    Well I will finish it up once I can get back into file manager. xD. No Brandon. lol.

    Well I will finish it up once I can get back into file manager. xD. No Brandon. lol.
Top