StuartBombay
Programmer
I don't get an error with this, but I don't get a mailto link either. I'm happy I'm no longer getting parse errors though!
caveat: this is an intranet form that will never travel outside the department. Everyone has the same email client, so using a mailto *shouldn't* get me into any trouble.
Thanks, If not for this forum I would have run screaming ages ago.
caveat: this is an intranet form that will never travel outside the department. Everyone has the same email client, so using a mailto *shouldn't* get me into any trouble.
Code:
if (mysqli_num_rows($get_admin_rs) > 0) {
while ($admin_info = mysqli_fetch_array($get_admin_rs)) {
$user = stripslashes($admin_info['username']);
$name = stripslashes($admin_info['principal']);
$display_block .="<li>Principal: $name";
$display_block .="<a href='mailto:".$user."@soemwhere.com'>";
}
$display_block .="</ul>";
}
Thanks, If not for this forum I would have run screaming ages ago.