PHP &

后端 未结 10 1884
误落风尘
误落风尘 2021-01-20 13:40

Is this correct? If not what is the correct syntax

I am new to php hence trying to learn.

    

        
10条回答
  •  死守一世寂寞
    2021-01-20 14:10

    No that is not correct. All code is interpreted, and why are you using string literals instead of actual booleans? And not to mention, you're using an assignment operator instead of a comparison operator in your if statement.

提交回复
热议问题