Lines 84-88: [php]if (empty($_POST[‘HomeInfo’])) {
$infoErr = "Information about your home is required. ";
} else {
$HomeInfo = test_input($_POST[‘HomeInfo’]);
}
[/php]
Lines 120-125: [php]function test_input($data) {
$data = trim($data);
$data = stripslashes($data);
$data = htmlspecialchars($data);
return $data;
}[/php]
So, why is it saying it is undefined, when it clearly is defined? And, more importantly, how do I fix it?