can some body help me with this error...in PHP?

Robbie

New member
here is the error msg

Notice: Undefined index: FN in C:\wamp\www\Site\Order Form-Out.php on line 52

here is the code:

<body>
<form action = "Order Form.htm">
<?php

if (!empty ($_REQUEST ['FN']))
{$title = stripslashes($_REQUEST['FN']);}
else
{
$title = NULL;
echo '<p><font color = "Red"> Please enter your Full Name! </font></p>';
}
if (!empty ($_REQUEST ['EA']))
{$first = stripslashes($_REQUEST['EA']);}
else
{
$first = NULL;
echo '<p><font color = "Red"> Please enter your E-Mail Address! </font></p>';
}
if (!empty ($_REQUEST ['SA']))
{$last = stripslashes($_REQUEST['SA']);}
else
{
$last = NULL;
echo '<p><font color = "Red"> Please enter your Shipping Address! </font></p>';
}

$amount="130";
$tax=($amount*.10);
$stax=($amount*.10);
$total=($amount+$tax+$stax);
?>

<table width="391" height="225" border="0">
<tr>
<td width="141">Full Name </td>
<td width="12">:</td>
<td width="224"><?php echo $_GET["FN"];?></td> <<<<<<< 52
</tr>
<tr>
<td>E-Mail Address </td>
<td>:</td>
<td><?php echo $_GET["EA"]; ?></td>
</tr>
<tr>
<td>Shipping Address </td>
<td>:</td>
<td><?php echo $_GET["SA"]; ?></td>
</tr>
<tr>
<td>Amount </td>
<td>:</td>
<td><?php echo $_GET[$amount]; ?></td>
</tr>
<tr>
<td>Tax (10%) </td>
<td>:</td>
<td><?php $tax; ?></td>
</tr>
<tr>
<td>Shiping Tax (10%) </td>
<td>:</td>
<td><?php $stax; ?></td>
</tr>
<tr>
<td>Total Amount </td>
<td>:</td>
<td><?php $total; ?></td>
</tr>
</table>

<table width="391" border="0">
<tr>
<td width="62">*</td>
<td width="259">*</td>
<td width="56"> <input type="button" value="Back" onclick="history.back(-1)"></td>
</tr>
 
Back
Top