Javascript: Have the submit button call a JS function which would
    check the state of the select and set the action appropriately
    before submitting the form.

    PHP: submit the result to a dispatcher script that'll redirect to
    one of the targets based on what has arrived in the data (you'll
    lose the ability to POST though).

I'd chose the javascript route personally. You could use PHP's curl functions to rePOST the data, but that seems like more work than is necessary.

My .02 cents. :)

-Ed

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to