See the reply to this post:
http://groups.google.com.au/group/cake-php/browse_thread/thread/08e0e496513cfc29/?hl=en#
On Jul 10, 7:27 am, Conrad <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm semi-new to cake (and php), but trying to learn fast...and I was
> wondering how I work with getting the data sent by the ajax editor...
>
> for instance i the following code in my view:
> <p id="email"><?php echo $User['email'] ?></p>
> <?php echo $ajax->editor('email', '/users/edit',
> array('callback'=>'return "email=" + escape(value)')) ?>
>
> When that value is sent to my controller I want it to save it to the
> database...do i use $this->data or $this->params['data'] or what?
>
> Thanks!
> Conrad
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---