So I have a function having
http://link/to/$id as destination link.
It works when I use
But I need to change it to submit form because I need to pass more than one
$id. So, I thought it was good to use
drupal_goto() rather than the link option.
drupal_goto('mymodule/option/$id'); drupal_goto('mymodule/option/'.$id); drupal_goto('mymodule/option/', $id);
Those are not working. It always go to http://link/mymodule/option without passing
$id variable. How do I do this correctly?