<?php
//Create a random 10-digit alphanumeric variable
function randomgen() {
$length = 10;
$string = 'abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ';
$key = substr( str_shuffle($string), 0, $length );
return $key;
}
$filename = randomgen();
$file = fopen("$filename.html","w");
$body="<table border="0" width="502" height="50" id="table1">
<tr>
<td height="46" width="240">
<font face="Verdana" size="2">First name: </font><font face="Verdana"><font size="2"> </font>".$_POST['First_name']."<font size="2">
<br>Address:
</font><font style="font-size: 5pt"> </font>"
.$_POST['Address']."</td>
<td height="46" width="246">
<font face="Verdana">
<font size="2">Last Name:
</font>".$_POST['Last_name']."<font size="2">
City:
</font><font style="font-size: 6pt"> </font>".$_POST['City']."<font size="2">
</font></font></td>
</td>
</tr>
</table>";
echo fwrite($file,$body);
fclose($file);
?>
Parse error: syntax error, unexpected T_LNUMBER in /home/adfinanc/public_html/application/process.php on line 15