> This may sound too easy to ask but I want ot make sure if I'm correct. I
> have a form with date, month and year select fields in it. When I submit,
i
> want to tie those three fields value together and insert into a field in
> table which has date data type. Is it correct to tie those three value
like
> below?
>
> $Birthdate = $year&$month&&day;
>
> And I will insert value in $Birthdate into table.
Not quite. right idea, wrong syntax.
You're just doing a simple string concatenation, so what you actually
want is this:
$Birthdate = $year . $month . $day;
Jason
--
Jason Murray
[EMAIL PROTECTED]
Web Design Team, Melbourne IT
Fetch the comfy chair!
--
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]