mail link problem with php echo statement
| From: | Mark | Date: | Thu, 23 Mar 2006 04:29:06 +0000 |
| Subject: | mail link problem with php echo statement | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-232431@lists.php.net to get a copy of this message | ||
How can i make this email from a database a hyperlink so it doesnt show the
email address--i have tried many things but i keep getting errors. At the
moment it just shows the email (no link)
thanks
<?php
//get comp_id
$query = mysql_query("SELECT * FROM comps WHERE name = '$comp_name'");
$result = mysql_fetch_array($query);
$comp_id = $result['id'];
$joinfee = $result['joinfee'];
$email = $result['email'];
?>
Administrator email[<?php echo $email;?>]</td>