$today = getdate();
$month = $today[month];
$mday = $today[mday];
$year = $today[year];
print "$month $mday, $year";
-Brian
**********
> -----Original Message-----
> From: Fredrik Arild Takle [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, January 28, 2001 2:32 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Problem!
>
>
> 1.
> $date = "20010101";
>
> How could I output 01 01 2001 (or make it 3 variables, like day,
> month, year)?
>
> 2.
> What is the best way to encrypt (using PHP and MySQL)?
>
> Could you please answer me directly by mailadr.
> ([EMAIL PROTECTED]), because I'm currently not a member of this
> list at home!
>
> ---------------------------------
> Fredrik A. Takle
> [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]