so in my add1 controller, i serialize the data. But how do i pass this to
the second form as a hidden field? Would I need to append this to the URL as
a parameter? Or would i need to dynamically create the second form from my
add1 controller?

On Wed, Mar 5, 2008 at 12:38 PM, Samuel DeVore <[EMAIL PROTECTED]> wrote:

>
> http://us3.php.net/serialize
>
> On Wed, Mar 5, 2008 at 1:34 PM, bob <[EMAIL PROTECTED]> wrote:
> > 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
> > > >  >
> > > >
> > >
> > >
> >
> >
> >  >
> >
>
>
>
> --
> --
> (the old fart) the advice is free, the lack of crankiness will cost you
>
> - its a fine line between a real question and an idiot
>
> http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/
> http://blog.samdevore.com/cakephp-pages/my-cake-wont-bake/
> http://blog.samdevore.com/cakephp-pages/i-cant-bake/
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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