From: Ramesh PAtel <ramesh@banas.guj.nic.in>
To: pgsql-admin@postgresql.org
Subject: Problem in FOR loop
Date: Thu, 1 May 2003 16:58:31 +0530
Message-ID: <3EB15284.22672.165173A@localhost> (raw)
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: ramesh@banas.guj.nic.in
Subject: Re: Problem in FOR loop
In-Reply-To: <3EB15284.22672.165173A@localhost>
References: <3EB15284.22672.165173A@localhost>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox