db_host=$hostname; $objSetupRLA->db_user=$username; $objSetupRLA->db_pass=$password; $objSetupRLA->db_database=$database; if(!$objSetupRLA->db_connect()) { echo "

Sorry! Could not connect to the database server.

"; exit(); } if ($modus=='modify'){ if ($objSetupRLA->updateAkun(str_replace('_','.',$noakun),$namaakun,$nogrupakun,$icon)) {?> strDBError; } } if ($modus=='insert'){ if ($objSetupRLA->insertAkun($noakun,$namaakun,$nogrupakun,$icon)) {?> strDBError; } } ?>