17.01.2017, 20:41
There are so many flaws that I don't even know where to start.
You declare an empty string "strong". Then you check if a file exists, which name is stored in variable "strong". Since we have just established that "strong" is empty you're checking if, um, nothing exists. Of course this check fails so anything after that automatically becomes useless.
In that block (that doesn't get executed, anyway) you declare an empty variable string and you do pretty much the same thing. You try to get the integer value of string, but since we have established that this variable is empty you will just get 0 all the time.
Also read the manual on Y_INI because you're doing it totally and utterly wrong.
Excuse me if this seemed rude but it's been three days and you've made no effort to solve your own problem by doing, you know, research.
You declare an empty string "strong". Then you check if a file exists, which name is stored in variable "strong". Since we have just established that "strong" is empty you're checking if, um, nothing exists. Of course this check fails so anything after that automatically becomes useless.
In that block (that doesn't get executed, anyway) you declare an empty variable string and you do pretty much the same thing. You try to get the integer value of string, but since we have established that this variable is empty you will just get 0 all the time.
Also read the manual on Y_INI because you're doing it totally and utterly wrong.
Excuse me if this seemed rude but it's been three days and you've made no effort to solve your own problem by doing, you know, research.

