|
J
|
Jane 11/6/2008 |
|
Hi, if (strtotime("now")-strtotime($values["DateFieldName"])<0) echo "Data incorrect"; |
|
|
M
|
maxcolo author 11/6/2008 |
|
Grazie Jane, |
|
|
J
|
Jane 11/7/2008 |
|
Hi, $flag=0; if (first contition) { //your code here $flag = 1; } if (second contition) { //your code here $flag = 1; } if (!$flag) return true;// return true if you like to proceed with editing this record else return false; // return false otherwise |
|
|
M
|
maxcolo author 11/7/2008 |
|
Thanck's very, very much |
|
|
M
|
maxcolo author 11/7/2008 |
|
My solution |
|
|
M
|
maxcolo author 11/8/2008 |
|
It work perfect |
|