get beta testers

1642'); db_set_active(); while ($row=db_fetch_object($result)) { $result2 = db_query("select uid,name from users where name='%s'",$row->name); while ($row2=db_fetch_object($result2)) { print 'old '.$row->uid.' is now '.$row2->uid; db_query("update shoutbox set uid=%d where uid=%d",$row2->uid,$row->uid); //db_query("update users set pass='%s' where uid=%d",$row->pass,$row2->uid); //db_query("insert into artistworks_users values($row2->uid,$row->remote_uid,'visible','visible',0); } } /* while ($row=db_fetch_object($result)) { $uid = $row->uid; echo 'uid is '.$uid.'
'; print 'name is '.$row->name.'
'; unset($row->uid); echo 'uid is '.$row->uid.'
'; db_set_active('aobold'); $result2 = db_query('select * from og_uid where uid=%d',$uid); db_set_active(); $account = user_save($row,array('roles'=>array(4=>4))); echo 'now its'.$account->uid.'
'; while ($row2=db_fetch_object($result2)){ echo 'gid is '.$row2->nid.'
'; $args = array('is_active'=>1,'is_admin'=>$row2->is_admin); og_save_subscription($row2->nid,$account->uid,$args); } } */ ?>