DB_DataObject_FormBuilder- Multi-Key Tables

From: Date: Tue, 04 Jan 2005 10:45:49 +0000
Subject: DB_DataObject_FormBuilder- Multi-Key Tables
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-16581@lists.php.net to get a copy of this message
I have a table like: CREATE TABLE region_languages ( region_id int(10) unsigned NOT NULL default '0', language_language char(2) NOT NULL default '', textstring varchar(255) default NULL, PRIMARY KEY (region_id,language_language), KEY region_languages_FKIndex1 (region_id), KEY region_languages_FKIndex2 (language_language) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; Given that there are two primary keys which must be chosen, along with a textstring to be entered, can I use DB_DataObject_FormBuilder to generate a form for inserting into this table? Can you point me at a working example, or a few lines of code? </edg>

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