$value) { if(!preg_match('/.+/')) { $errors .= "You neglected to enter a value for field {$key}\n
"; } } ?>