How to get result for each element in array using PDO::fetchAll()?

前端 未结 0 1391
有刺的猬
有刺的猬 2020-11-30 13:44

I have an array with id\'s and I want to get result for each id from pgsql db. But I dont want to make multiple requests like

$array = [1,2,3,4,5];
foreach ($         


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