I'd like to place

<a href="mailto:<?=$row_Ret['JEmail'];?>"><?=$row_Ret['JEmail'];?></a>

In the second part of the following, where the echo goes, but getting error messages. Can't seem to get the winnning combination:

<?php if (!empty($row_Ret['JEmail'])){echo $row_Ret['JEmail']; }

This is Dreamweaver/recordsets. Recommendations?

    Hi BEFOR,

    Just to get you correctly, you want to display a link, but only if $row_Ret['JEmail'] is not empty. If that's right then ...

    <?php 
    if (!empty($row_Ret['JEmail'])){
        echo  '<a href="mailto:'.$row_Ret['JEmail'].'">'.$row_Ret['JEmail'].'</a>'; 
    }
    ?>
    

    .. should do it.

    P.🙂

      paulnaj,

      did do it. much appreciate it.

        Write a Reply...