From: Elijah O. Alcantara <elijah@asti.dost.gov.ph>
To: pgsql-php@postgresql.org
Subject: Re: Bad date external representation
Date: Mon, 05 Jul 2004 17:09:50 +0800
Message-ID: <1089018590.23599.41.camel@Falcon> (raw)
In-Reply-To: <40E90D8E.4070707@sancharnet.in>
References: <1089014787.23599.31.camel@Falcon>
<40E90D8E.4070707@sancharnet.in>
Thanks for the reply =)
But it looks like we have an old version of php - 4.0.6
pg_fetch_result
(PHP 4 >= 4.2.0) =(
it looks like I need to use pg_fetch_row instead.
Thanks again,
Elijah =)
On Mon, 2004-07-05 at 16:13, V i s h a l Kashyap @ [Sai Hertz And
Control Systems] wrote:
> Dear Elijah ,
>
> >Code:
> >
> >
> >>$query = "Select date_created from organizationinfo where ctrl_no =
> >>'$ctrl_no'";
> >>$date_created = pg_Exec($connectGovPH, $query);
> >>
> >>$query = "Select date_modified from organizationinfo where ctrl_no =
> >>'$ctrl_no'";
> >>$date_modified = pg_Exec($connectGovPH, $query);
> >>
> >>
> fetch results by pg_fetch_result and then insert the data
>
> >>$query = "Insert into temp_organizationinfo
> >>VALUES('$ctrl_no','$organization_name','$domain_name','$loginID','$loginPassword','$date_created','$date_modified',4)";
> >>pg_Exec($connectGovPH, $query);
> >>
> >>
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-php@postgresql.org
Cc: elijah@asti.dost.gov.ph
Subject: Re: Bad date external representation
In-Reply-To: <1089018590.23599.41.camel@Falcon>
References: <1089014787.23599.31.camel@Falcon> <40E90D8E.4070707@sancharnet.in> <1089018590.23599.41.camel@Falcon>
* 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