J
|
Jane 1/21/2009 |
It's difficult to tell you what's happening without seeing actual files. |
![]() |
vin7102 author 1/22/2009 |
UPDATE** if anyone was curious to the solution for this problem, this happens because there is time part in the Date field. Here is the correct code: ------------------------------------------ if(strtotime($values["Date"])<strtotime($values["Week_Begin"])) { $message="<div class=message><<< "."Database NOT updated .........Date entered is Before the week starting date.....Select another date"." >>></div>"; return false; } elseif(strtotime($values["Date"])>strtotime($values["Week_End"])) { $message="<div class=message><<< "."Database NOT updated .........Date entered is After the week ending date.....Select another date"." >>></div>"; return false; }
|