CURRENT_DATE + $i ?
| From: | Jan-Hendrik Heuing | Date: | Fri, 28 Jul 2000 12:12:10 +0000 |
| Subject: | CURRENT_DATE + $i ? | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-1373@lists.php.net to get a copy of this message | ||
Hi !
For a kind of diary, I need the next 4 days. I tried something like
$i = 0
while ($i < 4) {
...SQL.... WHERE date='CURRENT_DATE + $i'....
}
It does woek within a month, not if there is a change of month.
Does anyone have an idea, how to get the next 4 days ?