Soldato
- Joined
- 30 Nov 2005
- Posts
- 3,084
- Location
- London
Having a problem with an IF statement in PHP. It seems to think that the string stored in the variable is less than six when it's not.
When I echo the $something the value is longer than six yet it still seems to think that it's not and dies.
Any ideas?
When I echo the $something the value is longer than six yet it still seems to think that it's not and dies.
Any ideas?
Code:
if($something < 5){
die(include "toosmall.php");
}
Last edited: