Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12
  1. #11
    Join Date
    Apr 2006
    Location
    Salford
    Posts
    2,108
    Tokens
    0

    Latest Awards:

    Default

    Yes sorry i was thinking of something else.

    PHP Code:
    <?php if(bet == "-"){
    echo 
    "Negative numbers are not allowed.";} ?>

  2. #12
    Join Date
    Dec 2006
    Location
    Swindon
    Posts
    3,299
    Tokens
    215
    Habbo
    dunko

    Latest Awards:

    Default

    Quote Originally Posted by Frequancy View Post
    Yes sorry i was thinking of something else.

    PHP Code:
    <?php if(bet == "-"){
    echo 
    "Negative numbers are not allowed.";} ?>
    That still wont work as you dont have a variable, and even if bet was a function you would need a (), and if your going to use $bet == "-" then it will only work if $bet was just "-", not "-50"

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •