how do you serialize data? thanks.

On Wed, Mar 5, 2008 at 3:30 AM, Dardo Sordi Bogado <[EMAIL PROTECTED]>
wrote:

>
> You can use Session or an hidden field in the form with the serialized
> data, then in add2 unserialize it.
>
> On Wed, Mar 5, 2008 at 9:10 AM, bob <[EMAIL PROTECTED]> wrote:
> > In cakephp 1.2, if i submit a form from the view to the controller, the
> data
> > will be stored in $this->data. But If I will to span the form across 2
> > views, how would I keep the form data from the first view?
> >
> > For example, if I have controller A and add1 and add2 as the actions. I
> want
> > to set it up so that I have a form in add1 which the user submits, then
> goes
> > to add2. In add2, when the user submits the form, only at this point
> will I
> > save all the data to the database.
> >
> > 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to