javascript email link? or mailto with php?
-
I’m looking to add a simple mailto to of my blog.
<SCRIPT TYPE="text/javascript"> emailE=('myname@' + 'mysite.com') document.write('<A href="mailto:' + emailE + '">' + emailE + '</a>') //--> </script>Can’t seem to make it work.
Works fine on html pages… I’m new to php.I implemented:
<?php echo antispambot(get_the_author_email()); ?>
but I want a clickable mailto- this just displays the address, unless I’m doing it wrong.
My goal is to put my email on within the footer, within a page, and perhaps in a post.thanks for any help or advice…
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘javascript email link? or mailto with php?’ is closed to new replies.