Brad Harriger wrote:
I have two variables, $StartDate and &EndDate that contain values read from MySQL Date fields. How can I determine if a value entered by the user is between the two dates? I'm using PHP 4.0.6.
if ($user_input > $StartDate && $user_input < $EndDate) { // do something }
Erik
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php