I bought tonight the Lite version of Codelobster PHP Edition, and I had the first disappointment.
Code:
switch (true) {
case (>100000) and (<=500000) {
= 50000;
break;
}
case (>500000) and (<=1000000) :
= 75000;
break;
case (>=1000000) :
= 100000;
break;
default :
=0;
break;
}
This piece of code, you have a syntax error, but our program ignores it. Someone can tell me how to intervene on the parameters or other so that the problem can be solved.
I bought tonight the Lite version of Codelobster PHP Edition, and I had the first disappointment.
[code]
switch (true) {
case ($row_count>100000) and ($row_count<=500000) {
$offset = 50000;
break;
}
case ($row_count>500000) and ($row_count<=1000000) :
$offset = 75000;
break;
case ($row_count>=1000000) :
$offset = 100000;
break;
default :
$offset=0;
break;
}
[/code]
This piece of code, you have a syntax error, but our program ignores it. Someone can tell me how to intervene on the parameters or other so that the problem can be solved.