pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ramesh PAtel <ramesh@banas.guj.nic.in>
To: pgsql-admin@postgresql.org
Subject: DAte  use in For loop
Date: Thu, 1 May 2003 17:00:05 +0530
Message-ID: <3EB152E3.4904.1668B35@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: <3EB152E3.4904.1668B35@localhost>
Permalink:  ../3EB152E3.4904.1668B35@localhost/
Also on:    postgresql.org/message-id/3EB152E3.4904.1668B35@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 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: DAte  use in For loop
  In-Reply-To: <3EB152E3.4904.1668B35@localhost>
  References: <3EB152E3.4904.1668B35@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