"Brian Clark" ...
>
> Not quite; you want the concatenation operator:
>
> $Birthdate = $year . $month . $day; /* assuming &&day was a typo */
>
> This will also work:
>
> $Birthdate = "$year$month$day";
As i know, databases use a 00/00/0000 date format, so the thing you may do
is
$birthdate = $day . "/" . $month . "/" . $year;
or
$birthdate = "$day/$month/$year";
But you should refer to your database's documentation, i'm not sure it's
always true.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]