Re: [PHP] combining values

2005-03-02 Thread M. Sokolewicz
Mike Ford wrote: -Original Message- From: Bret Hughes Sent: 01/03/05 18:43 On Tue, 2005-03-01 at 11:44, Sascha Kaufmann wrote: $birthday = $day.'.'.$month.'.'.$year; why wouldn't $birthday = "$day.$month.$year"; because it does work aswell work as well. --- It wou

RE: [PHP] combining values

2005-03-02 Thread Ford, Mike
-Original Message- From: Bret Hughes Sent: 01/03/05 18:43 On Tue, 2005-03-01 at 11:44, Sascha Kaufmann wrote: > $birthday = $day.'.'.$month.'.'.$year; > why wouldn't $birthday = "$day.$month.$year"; work as well. --- It would -- which to use is a matter of per

Re: [PHP] combining values

2005-03-01 Thread Leif Gregory
Hello Bret, Tuesday, March 1, 2005, 11:43:18 AM, you wrote: B> why wouldn't B> $birthday = "$day.$month.$year"; B> work as well. Whoops... Disregard my previous post. I missed your quotes. -- Leif (TB lists moderator and fellow end user). Using The Bat! 3.0.2.3 Rush under Windows XP 5.1 Bui

Re: [PHP] combining values

2005-03-01 Thread Leif Gregory
Hello Bret, Tuesday, March 1, 2005, 11:43:18 AM, you wrote: B> why wouldn't B> $birthday = "$day.$month.$year"; B> work as well. Because in PHP the unencapsulated period means to concatenate. i.e. $var1 = "Hello"; $var2 = "there"; $var3 = "Bret"; echo $var1 . $var2 . $var3; Would net you: H

Re: [PHP] combining values

2005-03-01 Thread Bret Hughes
On Tue, 2005-03-01 at 11:44, Sascha Kaufmann wrote: > $birthday = $day.'.'.$month.'.'.$year; > why wouldn't $birthday = "$day.$month.$year"; work as well. Bret -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] combining values

2005-03-01 Thread Sascha Kaufmann
$birthday = $day.'.'.$month.'.'.$year; William Stokes wrote: Hello, I need to collect persons birth date from web form. The form is this kind: Birthday date month year Then I need to combine these in to a one $variable. Something like this... $birthday = $day . $month . $year; How can I add th

[PHP] combining values

2005-03-01 Thread William Stokes
Hello, I need to collect persons birth date from web form. The form is this kind: Birthday date month year Then I need to combine these in to a one $variable. Something like this... $birthday = $day . $month . $year; How can I add the . (dots) to the date so it would look like for example