hmhm... U use Mysql? Is there any column called default? can you show us
your schema?
Greets
>
>
>
> Didn't seem to work,
>
> I've tried the following :
>
> $defaultColumn = $db->quoteIdentifier("default");
> $data = array( "$defaultColumn" => 0 );
> $where = array("$defaultColumn = ?" => 1, 'doctor_id = ?' => $doctorId);
> $db->update('types_appointment', $data, $where);
>
> I had great hopes but I still got error :
> Column not found: 1054 Unknown column '`default`' in 'field list'
>
> I can guarantee you that there is a default column in that table .. :-(
>
> ______________________________________
> View message @
> http://zend-framework-community.634137.n4.nabble.com/Quote-reserved-keywords-tp2525558p2525603.html
>
> To unsubscribe from Zend Framework Community, click
> http://zend-framework-community.634137.n4.nabble.com/template/TplServlet.jtp?tpl=unsubscribe_by_code&node=634137&code=c2lsdmVyc3BhY2VyQHdlYi5kZXw2MzQxMzd8LTE2OTQ2ODE3MzQ=
>
--
View this message in context:
http://zend-framework-community.634137.n4.nabble.com/Quote-reserved-keywords-tp2525558p2525653.html
Sent from the Zend Framework mailing list archive at Nabble.com.