Getting the dropdown menu to redirect to different pages?

ok so i figured it out… i changed the select to

  <select onChange="this.form.submit()" name="page_id"{$id} class="$class">

so that name passed in the url gets changed to ?page_id which i want since that is the format i am using (default wordpress format), and then i called my page_by_title function (btw i had to change the name of the get_page_by_title since it was the wp api name and it would otherwise just go into an infinite recursive loop XD) int the options like so

  <option value="".page_by_title($display).""$_selected>" . esc_html($display) . "</option>

the value passed was the page id… i believe the form must use the get method for this to work

tech