Monday, June 1, 2009

Array to String convertion

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?

thanks
randalle2
--~--~---------~--~----~------------~-------~--~----~
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: