Re: adding join conditions with DB_DataObject
| From: | bertrand Gugger | Date: | Fri, 04 Feb 2005 15:36:21 +0000 |
| Subject: | Re: adding join conditions with DB_DataObject | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-17385@lists.php.net to get a copy of this message | ||
Ian P. Christian wrote:
I'm currently struggling to achive this query with DB_DataObject: SELECT raduser.* , radreply.Value as ip FROM raduser LEFT JOIN radreply AS radreply ON radreply.UserName=raduser.username AND Attribute = "Framed-IP-Address" Are the " extra ? Do you like to link on a constant ?Excuse me if it's a bloody question. à+ -- bertrand Gugger (toggg)