Strict Standards: Only variables should be passed by reference

前端 未结 3 1241
一向
一向 2021-01-23 09:11

My PHP script is displaying an error:

Strict Standards: Only variables should be passed by reference in C:\\....*.php on line 551
3条回答
  •  忘了有多久
    2021-01-23 09:42

    Use:

    $param = strtoupper($a_user[$db_translation['login']]);
    $res->bindParam(':acc', $param, PDO::PARAM_STR);
    

提交回复
热议问题