Page 1 of 1

Concatenate date question

Posted: Mon Feb 02, 2009 4:38 pm
by mikes1471
Hi Folks

I'm looking to introduce this string into my registration page

Code: Select all

$birthdate = $birthday . "/" . $birthmonth . "/" . $birthyear;
    $birthdate = protect($_POST['birthdate']);
but when i submit the registration form the date doesnt reach the database

I'm pretty sure the string is fine, so i think the question is where in my code should it go?

Re: Concatenate date question

Posted: Mon Feb 02, 2009 5:53 pm
by Citizen
Show your code.