I have a page which outputs contact details of the person who is connected with the product the user has selected.
I have this at the moment
echo '<td>' . '<a href="mailto:' . ($row['E-Mail']) . '" class="emaillink">' .($row['E-Mail']) . '</a>' . '</td>';
When the above is clicked it opens an email to send to the email that corresponds to the result.
However I was wondering if it was possible to add another field to the email so that i could insert some data into the email message???
This is what I have tried
echo '<td>' . '<a href="mailto:' . ($row['E-Mail'])'?fnp_site=' . rawurlencode($row['FNP_Site']) . '" class="emaillink">' .($row['E-Mail']) . '</a>' . '</td>';
What I am after is the fnp_site value so that I can put this into the body of the email, but the above code just doesn't work.
Is this possible??? I know how to do it via a form but would liek to do it with the email link.
Cheers