In article <000a01c08960$f60d33e0$6dc94382@hp>, "Fredrik Arild Takle"
<[EMAIL PROTECTED]> 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. ([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]

Reply via email to