date use in for loop - Mailing list pgsql-sql

From Ramesh PAtel
Subject date use in for loop
Date
Msg-id 3EB152FC.27220.166ECC0@localhost
Whole thread Raw
Responses Re: date use in for loop  (Josh Berkus <josh@agliodbs.com>)
List 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



pgsql-sql by date:

Previous
From: Stuart
Date:
Subject: Re: Date Problem
Next
From: Bruno Wolff III
Date:
Subject: Re: How to write a sql query to get this result?