Concatenate date question

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
mikes1471
Forum Commoner
Posts: 88
Joined: Sat Jan 24, 2009 3:29 pm

Concatenate date question

Post 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?
Citizen
Forum Contributor
Posts: 300
Joined: Wed Jul 20, 2005 10:23 am

Re: Concatenate date question

Post by Citizen »

Show your code.
Post Reply