Home › Forums › Back End › Calling a string in a link › Re: Calling a string in a link
October 14, 2012 at 10:27 pm
#111847
pmac627
Participant
Try this:
$email = types_render_field (“email”);
if (!empty($email)) {
?>
“>http://php.net/manual/en/function.empty.php
isset might work better for you.
EDIT: Also, your $empty variable right after the mailto is missing a semicolon. ;)