Home › Forums › Back End › Calling a string in a link › Re: Calling a string in a link
October 15, 2012 at 9:38 am
#111879
Vermaas
Participant
This will do the trick:
Don’t know why the markup of this is so shit. But copy it in your code and make it look more nice.
`
// Get the e-mail variable
$email = types_render_field (“email”);
// Print out the e-mail variable, to make sure you’ve got one
echo “
" . print_r($email) . "
“;
// Check for an e-mail address
if ( !empty($email) ) { ?>
“>