10.04.2017, 15:47
Invert the sscanf-statement (just add a ! in front). Sscanf returns 0 on match just like strcmp.
I also want to point out that this:
Does nothing. Because numbers greater than 7 are 7 -> inifnity and numbers smaller than 50 are -infinity -> 50. And only one of the conditions needs to be fulfilled. You're using an OR where you should be using an AND.
Also in Germanic languages (like English) you don't "have" years. You "are" years.
I also want to point out that this:
Quote:
PHP код:
|
Also in Germanic languages (like English) you don't "have" years. You "are" years.