Input Forms - Mailing list pgsql-php

From Paul Joseph McGee
Subject Input Forms
Date
Msg-id Pine.OSF.3.96.1010325164246.24677A-100000@student.cs.ucc.ie
Whole thread Raw
List pgsql-php
Hi

I have a table in my database which has a column of type date. When I
retrieve the date from the database, I brake it up into seperate
variables, as in $day, $month, $year. My problem is that I give the user
the chance to change the date that is in the database so I have 3
input/text fields that the user change select the day, month and year. BUT
I want the selected day, month, year to be the one that is in the database
so the user will then decide if that date is alright.

I don't know how to do this, would it be javasript, and if so would it be
something like onload???

Thanks

Paul



pgsql-php by date:

Previous
From: Michael Fork
Date:
Subject: Re: format date retrieved from database
Next
From: Grant
Date:
Subject: Re: Converting POSTGRESQL timestamp to UNIX timestamp