FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Since when was basic maths stopped?





n0obie4life
"Fatal error: Unsupported operand types" - that was what i got for a php error.

And the code?

Code:
      switch ( $HTTP_GET_VARS['d'] )
      {
         case "1":
            $old = $base;
            $new = $base - 1;
            break;
         case "0":
            $old = $base;
            $new = $base + 1;
            break;
         default:
            $old = $base;
            $new = $base;
            break;
      }
Bondings
It's probably considered as a string instead of a number.
Related topics
What would it be like to die?
setup.php
SAT- Longer Time Given for Wealthy Kids
Calvin and Hobbes
Should marijuana be legal?
Just came out of a Mental Ward
Some puzzles to entertain
Eyeshield 21 fans?
How do I round a decimal?
Time Travel: Is it Possible?
50 Cent's New Album
Genesis in the spotlight..1
Metaphysics: Studying the Human Potential
Ideas for a project to develop critical thinking
This topic is locked: you cannot edit posts or make replies.    Frihost Forum Index -> Support and Web Hosting -> Web Hosting Support

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.