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


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) ) { ?>