×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
1
Language: PHP
Posted by: userc865b
Added: Jun 3, 2019 10:40 AM
Views: 3964
Tags: php
  1. $makeQuestions=function (){
  2.             return "?";
  3. };
  4. $sql = "SELECT * FROM tblTest WHERE testTable IN (".implode(',',array_map($makeQuestions,$parmsArray)).") AND year =?";