removing that line solves the error, but obviously the script wont work. Here is the section in its entirety if you think it has something to do with the context:
elseif($URI6=="ProcessSearch"){
if($Phone=="on"){$SearchList="SELECT FROM records WHERE CustPhone=$SearchText"};
elseif($Email=="on"){$SearchList="SELECT FROM records WHERE CustEmail=$SearchText"};
elseif($Zip=="on"){$SearchList="SELECT * FROM records WHERE CustZip=$SearchText"};
$SearchOrders=mysql_query("$SearchList");
$num=mysql_num_rows($SearchOrders);
if($num==0){echo"$header $NoResults $footer";}else{
$i=0;
while ($i < $num) {
$CustName=mysql_result($SearchOrders,$i,"CustName");
$CustEmail=mysql_result($SearchOrders,$i,"CustEmail");
$CustID=mysql_result($SearchOrders,$i,"CustID");
$CustOrders=mysql_result($SearchOrderst,$i,"CustOrders");
$CustPrice=mysql_result($SearchOrders,$i,"CustPrice");
$CustDate=mysql_result($SearchOrders,$i,"CustDate");
$CustComments=mysql_result($SearchOrders,$i,"CustComments");
$CustMisc=mysql_result($SearchOrders,$i,"CustMisc");
$CustAddress=mysql_result($SearchOrders,$i,"CustAddress");
$CustZip=mysql_result($SearchOrders,$i,"CustZip");
$CustPhone=mysql_result($SearchOrders,$i,"CustPhone");
echo("$header $OrderToolBar
<table border=\"1\" class=\"allen\" cellpadding=\"0\" cellspacing=\"0\" bordercolor=\"7B3132\" width=\"100%\" ><tr>
<td valign=\"top\"><a href=\"mailto:$CustEmail\">$CustName</a><br />
$CustAddress $CustZip<br />
$CustPhone</td>
<td valign=\"top\" class=\"allen\" height=\"80\">$CustComments</td></tr><tr>
<td valign=\"top\" colspan=\"2\" class=\"allen\">$CustOrders</td></tr><tr>
<td valign=\"top\" colspan=\"2\" class=\"allen\" align=\"right\">Total: $$CustPrice</td>
</tr></table><p>
$footer");
++$i;}
}
}