Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Calling a string in a link Re: Calling a string in a link

#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. ;)