Ok maybe i am doing something wrong here. The code i have in the mail send is this.
//Excerpt from code
$mail_body .= "<IMG SRC=\"http://www.blah.net/emailer/emailread.php?Email=$ResultArray[0]\" WIDTH=1 HEIGHT=1 ALT=\"\" BORDER=0>
This adds the image at the bottom of the email...the $ResultArray[0] variable is the emailaddress of the recipient... I use this in the emailread.php file to update the TimesRead field.
In the emailread.php file i have this code
<?php
Include("dbconnect.php");
//Update the users Info
$Sql="UPDATE tblEmailInfo SET EmailsRead = EmailsRead + 1 WHERE EmailAddress LIKE '$Email'";
$Result = mysql_query($Sql, $Connect);
?>
This just adds 1 to the Emails read field where the emailaddress= the $Email variable sent from the Image Tag.
Apparently this php file is never getting called? I'm not sure exactly.. I've checked all the variables and they are correct... it SHOULD work but for some reason it isn't. I am using Outlook with security setting on the lowest setting. Also using WinXP Pro if that matters.
Thanks!😃