bigfatgreedykat Posted February 27, 2008 Share Posted February 27, 2008 Hello all I have an email mailto link with subject: <h1 id="email"><a href="mailto:[email protected]?subject=Hello ">[email protected]</a></h1> I was wondering to insert date onto subject line? I've tried the following: <h1 id="email"><a href="mailto:[email protected]?subject=Hello "$date>[email protected]</a></h1> Any ideas! BFGK Link to comment https://forums.phpfreaks.com/topic/93230-mailto-email-link-with-date/ Share on other sites More sharing options...
bpops Posted February 27, 2008 Share Posted February 27, 2008 Try <h1 id="email"><a href="mailto:[email protected]?subject=Hello <?php echo date("m/d/y");?>">[email protected]</a></h1> Link to comment https://forums.phpfreaks.com/topic/93230-mailto-email-link-with-date/#findComment-477712 Share on other sites More sharing options...
bigfatgreedykat Posted February 27, 2008 Author Share Posted February 27, 2008 Thanks bpops That worked!!! Thanks again! regards BFGK Link to comment https://forums.phpfreaks.com/topic/93230-mailto-email-link-with-date/#findComment-477981 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.