Tuesday, May 1, 2018

If statement structure in PHP

Greater than or equal to is >= sign, not =>


Update:
You are right. It's small but hard to find mistake.
It took me to split whole line into pieces to see where the problem is:


if
(
$varp
=>
80000
)

So, it says parse error on line 5 and I had to doublecheck this operator.
Of course, at first I separated the problem line from the rest of the code to be certain.

No comments:

Post a Comment

plot explanation - Why did Peaches' mom hang on the tree? - Movies & TV

In the middle of the movie Ice Age: Continental Drift Peaches' mom asked Peaches to go to sleep. Then, she hung on the tree. This parti...