why not eliminate the human error inevitability altogether and make the date a drop down menu instead of a textbox?
(there are ton of simple ways to verify data, one of the simplest being:
$string = "01/02/2008"; //or whatever input
list($m, $d, $y) = explode("/", $string);
if (
$string[2] == "/" && //check if slash is at right spot
$string[5]== "/" && //check if slash is at right spot
is_numeric($m.$d.$y) && //check that characters are numaric
($m <= 12) && //chech that month is less than 12
($d <= 31) && //chech that day is less than 31
($y > 2000) //check that year is greater than 2000
) {
echo "all good";
} else {
echo "error";
}
)