The proper way to do this seems to be
echo $html->tagValue('Order/dateoforder');
tagValue() is in the API for HtmlHelper, but maybe hard to find if you
don't know what you're looking for.
This will work whether the dateoforder was just sent by a form or if
you set the data in your controller with
$this->data['Order']['dateoforder'] = $some_date
If you use
$this->set('data', $this->data);
then you won't be able to output the $data values with tagValue() or
any other HtmlHelper form functions, which defeats the whole purpose
of using $data. At least, It doesn't work for me that way.
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---