⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Problem inserting and updating datetime with callbacks



Carloco
  • profile picture
  • Member

Posted 18 June 2013 - 22:31 PM

Hi everybody

 

I am developing a web page, in that I put some fields and a datetime field in order to let the user to pick a datetime value and all that value are inserted or updated in the table of my mysql database. (the datatype of the field is datetime too).

 

I am using callbacks for insert and update and there is the problem, all the fields(varchars,integers) are inserted and updated very well

except by the datetime field. Without the two callbacks(insert and update) all the fields are inserted including the datetime field but I am using stored procedures so I must use the callbacks to avoid the auto insert-update of the crud.

 

If anyone knows how to fix this I would appreciate it. Thanks.

 


davidoster
  • profile picture
  • Member

Posted 20 June 2013 - 14:48 PM

This is a duplicate question of this: /topic/1789-problem-inserting-and-updating-datetime-with-callbacks/

Please follow the above link.