X-Original-To: pgsql-admin@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 9C52E476363 for ; Thu, 1 May 2003 07:34:05 -0400 (EDT) Received: from relay.nic.in (relay.nic.in [164.100.10.106]) by postgresql.org (Postfix) with ESMTP id 4885C47636F for ; Thu, 1 May 2003 07:34:03 -0400 (EDT) Received: from relay.nic.in (localhost [127.0.0.1]) by relay.nic.in (8.12.9/8.12.5) with ESMTP id h41Bbk2N029457 for ; Thu, 1 May 2003 17:07:46 +0530 Received: from banas.guj.nic.in (banas.guj.nic.in [164.100.245.211]) by relay.nic.in (8.12.9/8.12.5) with ESMTP id h41BbbHA029397 for ; Thu, 1 May 2003 17:07:41 +0530 Received: from BANAS/SpoolDir by banas.guj.nic.in (Mercury 1.44); 1 May 03 16:58:51 +05:30 Received: from SpoolDir by BANAS (Mercury 1.44); 1 May 03 16:58:34 +05:30 From: "Ramesh PAtel " Organization: Banas Dairy, Palanpur To: pgsql-admin@postgresql.org Date: Thu, 1 May 2003 16:58:31 +0530 MIME-Version: 1.0 Subject: Problem in FOR loop Message-ID: <3EB15284.22672.165173A@localhost> X-mailer: Pegasus Mail for Windows (v4.01) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body X-Spam-Status: No, hits=-5.3 required=5.0 tests=BAYES_01,RCVD_IN_ORBS,RCVD_IN_RFCI version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200305/5 X-Sequence-Number: 8567 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