my ( $userid, $status ) = $dbh->selectrow_array( "SELECT userid, status FROM tabelle1 WHERE username=$username");