[Solved] PHP if condition number issue [duplicate]

[ad_1]

In the first if-statement you are assigning 100 to $cid, not comparing. You’re using a single = instead of ==. So in the first statement $cid is set to 100. When it comes to the second if-statement, $cid has a value of 100. So the conditional evaluates in a truthy value.

1

[ad_2]

solved PHP if condition number issue [duplicate]