Is it safe to call a stored procedure from PDO without preparing when I have absolute control over the IN parameter?

后端 未结 0 988
[愿得一人]
[愿得一人] 2020-12-08 16:26

Like in a foreach loop below:

foreach ($boos as $boo) {
  ...
  $return_values = $pdo->query("CALL my_stored_procedure(\'$boo\')")->fetchColum         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题