Thank you very much for your reply Johnny,
Yeah, I knew you were going to have a long detailed reply for any question mentioning PHP
Quote:
|
I'm going to assume that you know how PHP's mail() function works, more or less, since you're already running PHP through Cron, which isn't exactly newbie territory.
|
I am starting to understand it a bit more yes. Ah that is the thing, I bought a web-hosting book called "first 1000" and they provide many scripts etc

. Not just scripts I mean amazing scripts hehe. I do understand how to use Cron now, although it took a while to figure out why I was running the same Cron every minute
Thanks Johnny you have completely answered my question and I have just finished adding my HTML to the code.
I was wondering if I could also add HTML to a variable for example
$logo = "<img src="/logo.jpg" width="300" height="100" />";
$mail_body = "
$logo
One day I will understand PHP blah blah
";
I know there isn't much use for this but I'm just wondering if it would work. I know you can use links inside a variable but from what I have seen the links are just links minus the <a href=""></a> so maybe this isn't possible.
Thanks once again!