Re: 3 entries going into 1 field

From: Date: Sat, 31 May 2003 14:20:38 +0000
Subject: Re: 3 entries going into 1 field
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-149653@lists.php.net to get a copy of this message
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" <vprince@btinternet.com> To: "PHP List" <php-general@lists.php.net> 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

« previous php.general (#149653) next »