combining values

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I need to collect persons birth date from web form. The form is this kind:
<td>Birthday</td>
<td>date
<input type="text" name="day" size="5" maxlength="2">
month
<input type="text" name="month" size="5" maxlength="2">
year
<input type="text" name="year" size="10" maxlength="4">
</td>

 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 
this:

28.05.1974



Thanks

-Will 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux