pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
date use in for loop
2+ messages / 2 participants
[nested] [flat]

* date use in for loop
@ 2003-05-01 11:30  Ramesh PAtel  <ramesh@banas.guj.nic.in>
  0 siblings, 1 reply; 2+ messages in thread

From: Ramesh PAtel @ 2003-05-01 11:30 UTC (permalink / raw)
  To: 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




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: date use in for loop
@ 2003-05-01 17:04  Josh Berkus <josh@agliodbs.com>
  parent: Ramesh PAtel  <ramesh@banas.guj.nic.in>
  0 siblings, 0 replies; 2+ messages in thread

From: Josh Berkus @ 2003-05-01 17:04 UTC (permalink / raw)
  To: Ramesh PAtel <ramesh@banas.guj.nic.in>; pgsql-sql

Ramesh,

> I want to us date variable in for loop Condition. in PHP

This is a PostgreSQL list.  We cannot help you  with PHP.

If you want help with PHP, see the PHP website and their mailing lists:
http://www.php.net/


-- 
-Josh Berkus
 Aglio Database Solutions
 San Francisco




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2003-05-01 17:04 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-05-01 11:30 date use in for loop Ramesh PAtel  <ramesh@banas.guj.nic.in>
2003-05-01 17:04 ` Josh Berkus <josh@agliodbs.com>

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