pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ramesh PAtel <ramesh@banas.guj.nic.in>
To: pgsql-sql@postgresql.org
Subject: date use in for loop
Date: Thu, 1 May 2003 17:00:30 +0530
Message-ID: <3EB152FC.27220.166ECC0@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




view thread (2+ messages)  latest in thread

Message-ID: <3EB152FC.27220.166ECC0@localhost>
Permalink:  ../3EB152FC.27220.166ECC0@localhost/
Also on:    postgresql.org/message-id/3EB152FC.27220.166ECC0@localhost

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: ramesh@banas.guj.nic.in
  Subject: Re: date use in for loop
  In-Reply-To: <3EB152FC.27220.166ECC0@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