GravityView  1.19.4
The best, easiest way to display Gravity Forms entries on your website.
demo.php
Go to the documentation of this file.
1 <?php
2 
3 require_once('StandalonePHPEnkoder.php');
5 
6 // Enkode all plaintext and mailto: links in a string.
7 $html = '<p>Why not <a href="mailto:test@test.com?subject=Hello" tile="Email me">email me</a>. Your email will be sent to test@test.com. Here is another mailto, with an email address as the anchor text: <a href="mailto:test@test.com">test@test.com</a>. If you view source you shouldn\'t see any email addresses.</p>';
8 echo $enkoder->enkodeAllEmails($html);
9 
10 ?>
$html
Definition: demo.php:7
$enkoder
Definition: demo.php:4