I'm not sure of all you are testing for. But lets say $config_field1 is your email field in the database
if ( $config_field_1 != "" );
{echo "<a href=mailto" $config_field_1 ">email me</a>
I use PHP very little so my syntax maybe a little off but the logic is correct
|