string so i can use it as a condition in an sql find.
Your original post suggests otherwise
> I need to concatenate a datetime field from a view in a controller
before save
The 'before save' bit comment is what mislead me, you never mentioned
you needed the string for a conditional find.
As Mike has suggested using implode() on the various datetime[] array
values will do the job.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment