I have a script to gather some basic data. now i would like to take this information store it in an array on the html page. the problem is i don’t know where to start. anything would help thank you in advance.
Here is what i have so far.
Telephone Numbers <?phpif (isset($_GET[‘first’]) && isset($_GET[‘last’])) {
$filename="File.html";
$filename1="File.txt";
$fp=fopen("$filename","a");
$fp1=fopen("$filename1","a");
$Last=$_GET['last'];
$First=$_GET['first'];
$Street=$_GET['street'];
$City=$_GET['city'];
$State=$_GET['state'];
$Zip=$_GET['zip'];
$Area=$_GET['area'];
$Phone=$_GET['phone'];
$output ="$Last";
$output.=",";
$output.="$First";
$output.=",";
$output.="$Street";
$output.=",";
$output.="$City";
$output.=",";
$output.="$State";
$output.=",";
$output.="$Zip";
$output.=",";
$output.="(";
$output.="$Area";
$output.=")";
$output.="$Phone";
$output.="\r\n";
$page ="$Last";
$page.=",";
$page.="$First";
$page.=",";
$page.="(";
$page.="$Area";
$page.=")";
$page.="$Phone";
$page.="\r\n";
$page.="
";
fwrite($fp, $page);
fwrite($fp1, $output);
}
?>
Last Name:
First Name:
Street Name:
City:
State:
Zip:
Area Code:
Phone Number: