Forums

How to redirect browser based on form selection

david.dev 12 Mar, 2010
I have a form with two date options (radio buttons) and based on which one the user clicks I want to redirect the browser to one of two different URLs to external web sites.

This is the code I started with. I'm not sure if it is correct and if it is, it is missing the "redirect" statement. I put it in:

On submit after sending email...

<?php
$rdo = utf8_decode($_POST['radio00']);
if($rdo == 1)
{

}
?>
This topic is locked and no more replies can be posted.