Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!news.weisnix.org!newsfeed.ision.net!newsfeed2.easynews.net!ision!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail Content-Type: text/plain; charset="UTF-8" Message-ID: <2270241.FRqVoOGUtd@PointedEars.de> From: Thomas 'PointedEars' Lahn Reply-To: Thomas 'PointedEars' Lahn Organization: PointedEars Software (PES) Date: Sat, 18 Feb 2012 01:09:48 +0100 User-Agent: KNode/4.4.11 Content-Transfer-Encoding: 8Bit Subject: Re: e-mail Hyperlink Code Newsgroups: comp.lang.php References: Followup-To: comp.lang.php MIME-Version: 1.0 Lines: 24 NNTP-Posting-Date: 18 Feb 2012 01:09:48 CET NNTP-Posting-Host: 30d379ef.newsspool3.arcor-online.net X-Trace: DXC=^obc[GM5VL;i6K;>iZ]763McF=Q^Z^V384Fo<]lROoR18kFEh^067H9\9;114NW4 X-Complaints-To: usenet-abuse@arcor.de Xref: x330-a1.tempe.blueboxinc.net comp.lang.php:4870 Mike Copeland wrote: > How do I code the syntax to get the e-mail link at the end of the > code below to (1) show it's a hyperlink and (2) call the user's e-mail > client to create and send the e-mail request? I'm able to do this in > HTML code and file (e.g. href="mailto:..."), but it doesn't work in a > PHP file. Please advise. TIA That is an ill-conceived approach as it presupposes the availability of an e-mail client application. In a decade where Google Mail is widely used, such a program to be installed *and* properly configured on the client computer is even more improbable than it was in the previous decade, of Internet cafés. In any case, `mailto:' *does* work to that extent in a "PHP file" (you should think of "PHP files" as scripts, as *computer programs* instead). But it will never, anywhere, automatically submit the e-mail. Use a form-mailer instead. PointedEars -- When all you know is jQuery, every problem looks $(olvable).