ZF-6900: mysqli binds to now() with qoutes
When using prepared statements I bind dates into the query.
$query = $this->db->query("select * from table where DATE( ? ) between from and to", array($date));
if $date is "2009-06-04" it works fine: DATE( "2009-06-04" )
But when $date contains "now()" the quotes should be left out: DATE( now() ).
It's not a big deal. But it makes my life a bit easier :-)