Home › Forums › CSS › Autofill code for clicked link from email?? › Reply To: Autofill code for clicked link from email??
May 1, 2016 at 9:44 pm
#241146
Participant
Sounds like PHP.
I use PHP to include my header so I only have to change 1 page and not every single page.
<?php
$emailMap = array(“firstname1lastname1″=>”[email protected]”,
“firstname2lastname2″=>”[email protected]”); ?>
<input type=’text’ name=’emailTo’ value='<?= isset($emailMap[$_GET[“email”]])?$emailMap[$_GET[“email”]]:””) ?>’/>