"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/ date format, so the thing you may do
is
$birthdate = $d
Hello Jacky,
(Jl == "Jacky@lilst") [EMAIL PROTECTED] writes:
Jl> This may sound too easy to ask but I want ot make sure if I'm
Jl> correct. I have a form with date, month and year select fields in
Jl> it. When I submit, i want to tie those three fields value together
Jl> and insert into a fiel
Also, a great tutorial on strings is (print this out):
Using Strings:
--
http://www.zend.com/zend/tut/using-strings.php
by Nathan Wallace
As well as the manual entry :
PHP Manual
> 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 val
4 matches
Mail list logo