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
-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
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
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
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
$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
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
7 matches
Mail list logo