db_Dataobject join

From: Date: Thu, 06 May 2004 21:20:28 +0000
Subject: db_Dataobject join
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-12333@lists.php.net to get a copy of this message
Hi , I am having a problem with the pear class DB_DataObject. I have 2 tables; menu which consists of the following fields: menuId menuName menuLink menuOption menuTarget menuParent sequence and menuaccess which has the following fields: menuId usertypeId now I have the value of usertypeId. I am trying to get the menu items which belong to a specific usertypeId. I am having problems joining these 2 tables together. I have tried everything; addJoin(), getLinks() and nothing has worked. I only get data from one table. Plus what is the code to load the table.links.ini file having problems with this. Could you please shed some light onto this please. cheers


« previous php.pear.general (#12333) next »