Answers for "select from table where id is equal array of ids"

SQL
1

select values from mysql using php array of ids

$sql = 'SELECT * 
          FROM `table` 
         WHERE `id` IN (' . implode(',', array_map('intval', $array)) . ')';
Posted by: Guest on June-27-2020

Code answers related to "select from table where id is equal array of ids"

Code answers related to "SQL"

Browse Popular Code Answers by Language