Hi Larry,
Thanks for your reply. I tried that and the problems the same.
Here's how I use the generateDateTime:
/********************************ON MY
VIEW******************************************/
echo $form->generateDateTime('Appointment/appointment_date', 'Date');
/******************************IN MY
CONTROLLER***********************************/
$this->Appointment->cleanUpFields();
//if ($this->Appointment->saveField($fields,
"DATE_FORMAT('2006-10-03',GET_FORMAT(DATE,'EUR')", true))
if
($this->Appointment->save($this->params['data']))
{
//SUCCESS
}
Larry E. Masters aka PhpNut wrote:
> use this before the save();
> $this->cleanUpFields();
>
>
>
>
> --
> /**
> * @author Larry E. Masters
> * @var string $userName
> * @param string $realName
> * @returns string aka PhpNut
> * @access public
> */
>
> ------=_Part_57167_4104048.1152189576156
> Content-Type: text/html; charset=ISO-8859-1
> X-Google-AttachSize: 258
>
> use this before the save();<br>$this->cleanUpFields();<br><br><br><br
> clear="all"><br>-- <br>/**<br>* @author Larry E. Masters<br>* @var string
> $userName<br>* @param string $realName<br>* @returns string aka PhpNut<br>*
> @access public
> <br>*/
>
> ------=_Part_57167_4104048.1152189576156--
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---