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 -> Strings                                :
    ------------------------------------------------------
    http://www.php.net/manual/en/language.types.string.php
    by An unknown friend

The above information will prove helpful.  Keyword here is, 
as mentioned and demonstrated by Jason, Concatenation.


Regards,


Philip Olson
http://www.cornado.com/
                                         be outside the box.
                          


On Mon, 15 Jan 2001, Jason Murray wrote:

> > 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]
> 


-- 
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]

Reply via email to