Then you can use them like this:
include ('firstconfig.php');
$object = new objectclass();
$objs = $object->GetList(array(array('field','>',1)));
Database::Reset();
include ('secondconfig.php');
foreach($objs as $obj){
//take care of ids
$obj->SaveNew();
}
Database::Reset();
include ('firstconfig.php');
You need to do a Database::Reset() before use another database.
I hope this can do the trick.
Have a nice day!
--
You received this message because you are subscribed to the Google Groups "Php Object Generator" group.
To view this discussion on the web visit https://groups.google.com/d/msg/php-object-generator/-/L-00ivXDWJ0J.
To post to this group, send email to php-object...@googlegroups.com.
To unsubscribe from this group, send email to php-object-gener...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/php-object-generator?hl=en.