Have a PHP script that intervenes, ie.

// HTML File
<form action="decide.php" method="post">
<input type="radio" name="variable" value="0"><br>
<input type="radio" name="variable" value="1">

// decide.php
if($_POST[variable] == "0") {
   header("Location: location_one.cgi?variable=0");
} elseif($_POST[variable] == "1") {
   header("Location: location_one.cgi?variable=1");

"Rick Dahl" <[EMAIL PROTECTED]> wrote in message
I have a small problem.  I need to have a form post to two different
locations.  If a variable is a certain value, it goes to location_one.cgi
and if it is another value, it goes to location_two.cgi.  This may turn out
be a html problem but I figured php was the way to go since it is more
dynamic.  Any help is appreciated.

- Rick

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

Reply via email to