标签: php
我每次都得到同样的错误!
这是我的代码:
<?php require_once 'init.php'; $pollsQuery = $db->query("SELECT id, question FROM polls WHERE DATE(NOW()) BETWEEN starts AND end"); while($row = $pollsQuery->fetchObject()) { $polls[] = $row; } ?>
有人可以帮助我吗?