PDA

View Full Version : Need help with the datamanager.


Brandon_R
08-22-2009, 05:54 PM
Hello guys i need help with the datamanager. I already have the save new record working but the update is where im having some trouble at. In the guide it says i need to have an array of existing fields so the DM can automitically figure out which one is the auto incr one and set the WHERE clause based on that field. Where do i put this array? in the normal .PHP file or in the class_dm_filename.php file and how do i write it like so?

$existing12345 = array(
'userid' => 1,
'username' => 'Admin',
'usergroupid' => 6,
);

$dataman->set_existing(&$existing12345);

--------------- Added 1250994388 at 1250994388 ---------------

I tried looking at some default vbulletin files and got it guys. Thanks Anyways :)