OK here you are:

>From my example above the returned array would look like:

[0]
    [users]
        [id] => 1234
        [name] => Johnson
    [my_custom_function(users]
        [id] => somesamplevalue
[1].....

So, obviously he thinks that "my_custom_function(users" is a tables
name because it is followed by a ".". And he thinks that the "," which
separates the parameters of the function means that after it the next
tablename will follow... so he thinks that the next tablename is
"'ABC')" and tries to get the corresponding entry in the answer of the
database and of course he dont find anything with that tablename.

So any requested value after the function is lost...


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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