You are absolutely correct. It works perfectly. If I may, I had one related question. Before I inserted my php database code, I tried an echo "here" statement before the mailto and got no indication, just the email client. I then tried an echo "here", sleep(5000), echo "here" and got no indication, just the email client. Then I commented out the mailto code and when I clicked the hyperlink, 5 seconds later I saw 'herehere'. Does the code not run sequentially? I expected here, delay 5, here. Thank you very much for your assistance.
$email = $_GET['email']; // get the email address
send_data_to_db(); // save data in db
echo 'your text here !'; // echo text
echo '<a href="mailto:'.$email.'"> Your text here to open the mailto link</a>';
// show a link to run the email client