date use in for loop

From: "Ramesh PAtel " <ramesh(at)banas(dot)guj(dot)nic(dot)in>
To: pgsql-sql(at)postgresql(dot)org
Subject: date use in for loop
Date: 2003-05-01 11:30:30
Message-ID: 3EB152FC.27220.166ECC0@localhost
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Bruno Wolff III 2003-05-01 12:38:02 Re: How to write a sql query to get this result?
Previous Message Stuart 2003-05-01 09:38:40 Re: Date Problem