hello,
im trying to find the product of two numbers that i input.
but it does not work? am i setting the variables incorrectly?
can anyone please help?
your help is greatly appreciated
eliana
<form method="get" action="process.php">
<h2>Evaluate Costs for Programs! </h2>
insurance_cost: <input type="INT" name="insurance_cost"><br>
Days abroad: <input type="INT" name="days"><br>
<input type="Submit" name="submit" value="Search">
<input type="Submit" name="reset" Value="Reset">
</form>
<?php
$cost = '$insurance_cost';
$day = '$days';
$premium = $cost * $day;
$result=
echo "My Insurance Cost is =" .$income;
?>
im trying to find the product of two numbers that i input.
but it does not work? am i setting the variables incorrectly?
can anyone please help?
your help is greatly appreciated
eliana
<form method="get" action="process.php">
<h2>Evaluate Costs for Programs! </h2>
insurance_cost: <input type="INT" name="insurance_cost"><br>
Days abroad: <input type="INT" name="days"><br>
<input type="Submit" name="submit" value="Search">
<input type="Submit" name="reset" Value="Reset">
</form>
<?php
$cost = '$insurance_cost';
$day = '$days';
$premium = $cost * $day;
$result=
echo "My Insurance Cost is =" .$income;
?>