How can I redirect the user to my view? I made a view ("exampleview") that needs an argument: myarg. I can load my page at "exampleview/myarg" and at "exampleview".

When I call drupal_goto(exampleview/myarg), the destination is only "exampleview".

I get the same result with $arr = array('exampleview','myarg');.

Can anybody help me?
This is from drupal_goto 


  Usually the redirected URL is constructed from this function's input parameters. However you may override that behavior by setting a destination in either the $_REQUEST-array (i.e. by using the query string of an URI) This is used to direct the user back to the proper page after completing a form. For example, after editing a post on the 'admin/content'-page or after having logged on using the 'user login'-block in a sidebar. The function drupal_get_destination() can be used to help set the destination URL.


It seems like your destination parameter is set so you have to clear destination parameter or use header function