For Programmers: Free Programming Magazines  


Home > Archive > PHP Pear > January 2005 > Re: [PEAR] DataObjects joins









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PEAR] DataObjects joins
Justin Patrin

2005-01-28, 8:57 pm

\On Fri, 28 Jan 2005 14:49:22 -0500, James Stewart <lists@jystewart.net> wrote:
>
> On Jan 28, 2005, at 1:51 PM, Justin Patrin wrote:
>
>
> Looks interesting. I'll definitely have to look into that when time
> allows. In the meantime...
>
>
> Do you mean I can build a link without it being mentioned in the
> links.ini file? Could you give an example of how that might work? My
> initial attempt of:
>
> $staff = DB_DataObject::factory('member');
> $attendance = DB_DataObject::factory('staff_conference
');
> $attendance->joinAdd($staff,'','','member_id');
>
> resulted in the same error as before.
>


Try putting the parameters in those other two parameters.

--
Justin Patrin
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com