Обсуждение: date use in for loop

Поиск
Список
Период
Сортировка

date use in for loop

От
"Ramesh PAtel "
Дата:
Hi All

please give one  help

I want to us date variable in for loop Condition. in PHP

But it not working Properly.
$dt='2003-04-22' ;
$to='2003-04-30';

FOR ( $dt=$dt; $dt > $to ;  )
{
print "XYz";
}

Please Help me 

and how to file date diff in Day please Help

Ramesh Patel



Re: date use in for loop

От
Josh Berkus
Дата:
Ramesh,

> I want to us date variable in for loop Condition. in PHP

This is a PostgreSQL list.  We cannot help you  with PHP.

If you want help with PHP, see the PHP website and their mailing lists:
http://www.php.net/


--
-Josh BerkusAglio Database SolutionsSan Francisco