ok heres my coding this is wut it tells me
Parse error: parse error, expecting `'('' in /home/xero4/public_html/handleform.php on line 17
i cant figure it out its starting to bug me so can anyone help and by the way my code is
<html>
<head>
<title>Untitled Document</title>
</head>
<body>
<?PHP
if (($Array["FirstName"]) and
($Array["Lastname"])) {
$Array["Name"] =
$Array["FirstName"] . " " .
$Array["LastName"];
} else {
print ("Please enter your first and last names.<br>\n");
}
$Pattern = ".+@.+..+";
if {eregi($Pattern, $Array["Email"])) {
print ("Your information has been received!<Br>\n");
} else {
print ("Please enter a valid email address!\n");
}
?>
</body>
</html>