wow..guy goes to lunch and finds all these replies. Thanks all.
to phil: i actually did do that, and the strange this is that it is passing over the $_POST['date'] as needed., hence why I was stumped. I also did the strict === and the result was the same
to Maq: that's why I put in the p.s. in my first post...am using 5.2. That said, when I modify my original
if (strtotime($_POST[date]) == FALSE){
// no good, enter it again
} else {
// we're good, do something
}
to
$date = $_POST[date];
if (strtotime($date == FALSE){
// no good, enter it again
} else {
// we're good, do something
}
using your method it works. That must mean there is something amiss in the php settings, since it should not make any differnce. Unless I'm completely nuts...