RE: [PHP] 3 entries going into 1 field

From: Date: Sat, 31 May 2003 14:10:36 +0000
Subject: RE: [PHP] 3 entries going into 1 field
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-149652@lists.php.net to get a copy of this message
$EnteredDate = $date . "/" . $month . "/" . $year; This would output DD/MM/YYYY if $date = DD, $month = MM and $year = YYYY. -----Original Message----- From: Vicky [mailto:vprince@btinternet.com] Sent: 31 May 2003 15:06 To: PHP List 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

« previous php.general (#149652) next »