我将如何在具有多项选择的查询中使用它,它必须类似于
SELECT * FROM venue_event where venue = $check or $check ??
形式
<form action="test.php" method="post">
<input type="checkbox" name="check_list[]" value="value 1">
<input type="submit" />
</form>
<?php
if(!empty($_POST['check_list'])) {
foreach($_POST['check_list'] as $check) {
echo $check;
}
}
?>