Ask a question
cykeyan
cykeyan 2019-09-15 16:00:20
0
5
1377

Hello teacher, when the code is running, there is no prompt box when the data is found in the database. Click OK to enter the homepage. In the program,

$user = UserModel::get($map);
//var_dump ($map);
         if ($user===null) {
               $result = 'There is no such user, please check';
                                                                                                                 

cykeyan
cykeyan

reply all(4)
cykeyan

solved

刀刀

Solve it?

卢小强

You are using ajax to submit, instead of using return ['status'=>$status, 'message'=>$result, 'data'=>$data];

  • reply Yes, thank you!
    cykeyan author 2019-09-19 16:13:06
小❤呆呆

Need to return the result to the front desk, but I didn’t see any printout of $result

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template