📅  最后修改于: 2022-03-11 15:05:16.694000             🧑  作者: Mango
代码示例1
$sql = "SELECT * FROM table WHERE comp_id IN ('"
. implode("','", array_map('mysql_real_escape_string', $arr))
. "')";