Is using if correct?
蓝谑
蓝谑 2018-05-20 10:39:43
0
1
1269

Here, the data is taken out and placed in $rows. If the if statement is used to judge, it can only be verified once, that is, only the first data in the $rows array can be verified. In this case, if the user name we enter is not the first piece of data, the verification will never be successful.

蓝谑
蓝谑

连在度假和玩乐这件事上,我也不思进取的呢

reply all (1)
NULL

If $rows is an array, use the array search command. If $rows is a json string, use $rows = json_decode($rows,true);

    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!