Length Conversion

$a[$i]" ; } } if ( isset($_POST["theLength"]) ) { $len = $_POST["theLength"] ; $to = array_search( $_POST["toUnits"], $convNames ) ; $from = array_search( $_POST["fromUnits"], $convNames ) ; if ( (!is_bool($to)) && (!is_bool($from)) ) { $result = $len*$convVals[$from]/$convVals[$to] ; // Send the result ?>

Conversion Result

equals .

Thanks for asking!

Conversion Query

Length:
From units:
To units: