How to assign current date to row in Zend Framework?

This code is enabling SQL expression for Active Record field.

This code is enabling SQL expression for Active Record field: $row->verified_date = new Zend_Db_Expr('now()'); As ZF Manual says: You might need values in the data array to be treated as SQL expressions, in which case they should not be quoted. By default, all data values passed as strings are treated as string literals. To specify that the value is an SQL expression and therefore should not be quoted, pass the value in the data array as an object of type Zend_Db_Expr instead of a plain string.

This is the best way :) – David Caunt Aug 6 '09 at 13:13.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions