Any idea?

On 20 nov, 13:57, tirengarfio <[email protected]> wrote:
> Hi,
>
> i have a table to with two fields: user1 and user2.
>
> I have also this code to fetch the user2 column:
>
> // Extraemos los amigos del usuario de la sesion.
>     $this->friend_list = Doctrine::getTable('FriendReference')
>       ->createQuery('a')
>       ->select('a.user2')
>       ->where("a.user1 LIKE ?", '1')
>       ->execute();
>
> My problem: that code not only fecths the user2 column but also the
> user1 column..
>
> What am i doing wrong??
>
> Bye
>
> Javi

--

You received this message because you are subscribed to the Google Groups 
"symfony users" 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/symfony-users?hl=.


Reply via email to