How to populate current page title (or current url) to the subject line via mailto?
Been using the code below as a starting point, obviously modifying the "Page Title Here" bit, but can't find a solution:
<?php echo "<a href='mailto:test@test.com" . $to . "?subject=Page Title Here" . $subject . "'>Send an email</a>";?>