Hi,
i've been trying to understand that but it seems quite complex for what i need. here is my mail code:
mail( "vinny@test.com", "A NEW JOB HAS BEEN SUBMITED",
"
Hi Mark,
The following job has been send from the website.
JOB DATE: $z
", "From: test@aol.com");
JOBDATE: $z, I would like to define it first as
$z= my formated date
My date is currently stored in the database as $b
To display $b in a formated way, i use:
<?php
setlocale(LC_TIME,fr_BE);
print strftime("%e %B %Y",strtotime($row_rsjob['b']));
?>
is there no way that i can just sate something like:
$z=<?php
setlocale(LC_TIME,fr_BE);
print strftime("%e %B %Y",strtotime($row_rsjob['b']));
?>
(i know this is wrong, but thats the idea.)
does it explain it better?
cheers,
Vinny