Re: Problem!
| From: | Jeff Warrington | Date: | Tue, 30 Jan 2001 02:02:36 +0000 |
| Subject: | Re: Problem! | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-37213@lists.php.net to get a copy of this message | ||
In article <000a01c08960$f60d33e0$6dc94382@hp>, "Fredrik Arild Takle"
<ftakle@online.no> wrote:
$date = "20010101";
$newdate = strtotime($date);
$formatted = date("m d Y",$newdate);
list($mon, $day, $year) =
array(date("m",$newdate),date("d",$newdate),date("Y",$newdate));
> 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