Ok,
it was really stupid, sorry for wasting space !
I was learning how to use cake using the IBM tutorial and it uses the
depreciated inputTag.
Changed it to just "input" and now it's all good...
this took me at least 4 hours to figure out.
On Aug 9, 10:09 pm, noWookies <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I am sure there is a very simple solution to this, but it surely
> doesn't come "rapid" to me.
>
> I have a simple form which let's the user edit some simple data.
>
> This is the part of the view I am having a problem with:
>
> <?php echo ($profile['User']['email']) ?>
> <?php echo $html->inputTag('User/email', array('value' =>
> $profile['User']['email'])) ?>
>
> the first line echos the email as expected. The inputField in the
> second line however, stays empty and I can't figure out why?
>
> This is the corresponding part in my controller:
> $this->set('profile', $profile);
>
> from the dump:
> [profile] => Array
> (
> [Profile] => Array
> (
> [...]
> )
>
> [User] => Array
> (
> [...]
> [email] => [EMAIL PROTECTED]
> )
>
> I must be missing something obvious here ? If anyone could throw a
> rock at me which wakes me up, that'd be greatly appreciated ;)
>
> thanks !
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---