Monday, June 1, 2009

Re: Array to String convertion

On Mon, Jun 1, 2009 at 8:57 AM, randalle2 <regz_angelsoul@yahoo.com> wrote:
>
> Hello guys,
>
> Can anybody help me why I get this error?
>
> Notice (8): Array to string conversion...
>
> I try to explode a url, here is the code:
> $var = $this->params["url"];
> $res = explode("/", $var);
>
> then
> I debug the $res...
>
> debug($res);
>
> then I got those error...
>
> can anyone help me?
try debug($this->params["url"])

--
pietro

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: