RE: [PHP] Problem!
| From: | Brian V Bonini | Date: | Mon, 29 Jan 2001 22:49:30 +0000 |
| Subject: | RE: [PHP] Problem! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-37156@lists.php.net to get a copy of this message | ||
$today = getdate();
$month = $today[month];
$mday = $today[mday];
$year = $today[year];
print "$month $mday, $year";
-Brian
**********
> -----Original Message-----
> From: Fredrik Arild Takle [mailto:ftakle@online.no]
> Sent: Sunday, January 28, 2001 2:32 PM
> To: php-general@lists.php.net
> 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.
> (ftakle@online.no), because I'm currently not a member of this
> list at home!
>
> ---------------------------------
> Fredrik A. Takle
> fredrik@takle.net
>
>