select url function: first param is selected ligne