Hi!

the serialize doesnt work on my app, maybe it is because the array I
am passing is too many details in it - it has very very very long
text, paragraph, etc. Is there any other way to achieve this?
Thanks!!!

On Jun 21, 1:00 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> You can use serialize function to make a string from your array.
>  i.e. $to_send = serialize($my_array);
> And than you can send this variable like before localhost/dosomething/
> $to_send
>
> Than in the another page you have to unserialize this variable.
> i.e. $my_array = serialize(to_send);
> And now you can use your array as yoou want.
>
> On Jun 20, 4:27 pm, patsby <[EMAIL PROTECTED]> wrote:
>
> > Hi,
>
> > I have an array variable (containing lots of paragraph and
> > information) that I want to pass from one page to another page in the
> > cakephp application. How can I do that?
>
> > I tried using this ---> localhost/dosomething/$array
>
> > but the controller for dosomething couldn't pick up the $array. is
> > there anyway that i can do this?
>
> > 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