I just went back and read compact() more closely. It can accept an
array as a parameter but that array will be assumed to be an array of
variable names.

That means in Tesla's case, the function would be sorting through
approximately 12,600 potential variable names to try and return a
result. That seems like a problem!

Don

On May 12, 4:39 am, LipeDjow <[email protected]> wrote:
> @dreamingmind
> I think compact() is ok, it should work as well.
>
> @tesla
> I don't know if it's the problem, but try setting another name to the
> variable instead of $data.
>
> hth,
> LipeDjow

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to