Hi. I've been working on a piece of code for a while, and its driving me a bit crazy. ๐
$email = $row->email;
$mailer .= $email;
$mailer .= "semicolon";
This is in a while loop - so it takes data from a mySQL db and makes a list of email adresses from it. I then have this:
$print = "<a href=mailto:";
$replace = str_replace("semicolon", chr(59), $mailer);
$subtract = substr($replace, 0, strlen($replace)-0);
$print .= $subtract;
$print .= ">";
<center><font face="Arial" size=2><? echo $print; ?><b>mailer</b></a></font></center>
This is thus to make a link that writes an email to all these addresses. Problem is with the semicolon... When I put my cursor over the link, I see a list of all the email addresses (at the bottom of i.e., where it indicates where links go to) but when I click on it, only the first email adress is printed.
Thanks!