have 3 select boxes bdMonth, bdDay, bdYear.

Then when processing the $_POST, simply contact them in the format you want.

$bdString = $_POST['bsMonth'].'/'.$_POST['bsDay'].'/'.$_POST['bsYear'];

HTH,
=C=
* Cal Evans
* http://www.christianperformer.com
* Stay plugged into your audience
* The measure of a programmer is not the number of lines of code he writes
but the number of lines he does not have to write.
*

----- Original Message -----
From: "Vicky" <[EMAIL PROTECTED]>
To: "PHP List" <[EMAIL PROTECTED]>
Sent: Saturday, May 31, 2003 9:05 AM
Subject: [PHP] 3 entries going into 1 field


Hi,

I have a registration form, but I would like to add a Date of Birth section.
Now, because of the different formats of writing it I want to have 3
seperate drop down boxes, Date, Month and Year.

However, I then want those 3 dropdowns to go into one field in a mySQL
database, in DD/MM/YYYY format.

How can I acheive this, in simple language as I'm a newbie to this stuff ^_~

Thanks!
Vicky


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to