View Single Post
  #5 (permalink)  
Old 11-12-2009, 07:11 AM
sequencehosting's Avatar
sequencehosting sequencehosting is offline
Ultimate Babbler
 
Join Date: Jun 2009
Location: Kent, England
Posts: 1,340
sequencehosting has a stellar WB reputation (over 400 points)sequencehosting has a stellar WB reputation (over 400 points)sequencehosting has a stellar WB reputation (over 400 points)sequencehosting has a stellar WB reputation (over 400 points)sequencehosting has a stellar WB reputation (over 400 points)
Default

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!
__________________
Professional Website Hosting - Now Hosting Over 75 Websites! >Testimonials<
Professional cPanel Web Hosting from $1/month!
Our Disk Space and Bandwidth Has Been Doubled! Learn More
WEBSITE BABBLE SPECIAL! FREE Domain! - FREE Wordpress Setup! - 24 Hour Support
Reply With Quote